Scheduled commands

Scheduled commands are configured as cronjobs to carry out house keeping and maintenance tasks on the system by default.

The following scheduled paster commands are installed and enabled by default.

/etc/cron.d/baruwa

On systems that are not of Standalone System and Web and Mail System profiles, system cron is used and the commands are added to /etc/cron.d/baruwa.

Command schedules

Interval Command Description
3 Minutes baruwa update-queue-stats Updates the mail queue statistics
@ 00H00 update-sa-rules Updates the Spam rules descriptions for the web interface
Hourly baruwa send-quarantine-reports Sends out the quarantine reports in the users timezone
@ 01H00 baruwa prune-database Archives old records to the archive table and prunes old records from the archive table
@ 02H00 baruwa prune-quarantine Deletes old quarantined messages from disk
@ 10 mins every hour on the 1st baruwa send-pdf-reports Sends out the PDF reports in the users timezone
@ 20 mins every hour every day baruwa send-pdf-reports -t domain -p daily -d 1 Sends out the daily PDF reports in users timezone
@ 30 mins every hour on Monday baruwa send-pdf-reports -t domain -p weekly -d 7 Sends out the weekly PDF reports in users

Other scheduled commands

You will find all the other schedules system commands in the cron directories in /etc/cron.d /etc/cron.hourly /etc/cron.daily /etc/cron.weekly