application:maintenance

Configure the panel maintenance settings.

juggernaut --task=application:maintenance
Option
Value Default Description
--prune_action_logs <digit> 90 A nightly task to prune action logs older than this number of days.
--prune_application_logs <digit> 90 A nightly task to prune application debug logs older than this number of days.
--prune_modsecurity_logs <digit> 30 A nightly task to prune modsecurity logs older than this number of days.
--default <yes> Reset all settings to their default values.
--default_option <option> Reset a specific setting to its default value.

Examples

// set prune_modsecurity_logs to every 7 days
juggernaut --task=application:maintenance --prune_modsecurity_logs=7

// reset the prune_modsecurity_logs back to its default value
juggernaut --task=application:maintenance --default_option=prune_modsecurity_logs

// reset all settings to their default values
juggernaut --task=application:maintenance --default=yes