antimalware:scanning:schedule

Configure the anti-malware automated scanning schedule.

sentinel --task=antimalware:scanning:schedule
Option
Value Default Description
--scan_interval <disabled|daily|weekly|monthly> weekly How often to scan all your domains for malware. This schedule will only take precidence when the real-time anti-malware monitoring is running. If the real-time monitoring is disabled then scanning will fall back to the daily scan used by the maldet cron entry. Schedulled scans will always run with auto quarantine disabled to prevent false positives from damaging a website.
--scan_hour <0-23> 1 The hour of day to scan all your domains for malware.
--scan_day <0-7> 0 The day to scan all your domains for malware.
--skip_running_scan <1|0> 1 Do not run a scan if a scan is already running. This will prevent the schedular from starting multiple scans which may have not completed yet.
--days <digit> 7 Scan files created/modified in the last 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 the scan_interval
sentinel --task=antimalware:scanning:schedule --scan_interval=weekly

// reset scan_interval back to its default value
sentinel --task=antimalware:scanning:schedule --default_option=scan_interval

// reset all settings to their default values
sentinel --task=antimalware:scanning:schedule --default=yes