2 # Create /var/run/ folder : it may be a ramdrive
5 # Every 2 days compress log files
8 # Suppress log files older than one year
11 # Every day at 5am and every week at 4am, make requested SQL backups
12 0 5 * * *
alterncpanel /usr/lib/alternc/sqlbackup.sh -t daily
13 0 4 * * 0
alterncpanel /usr/lib/alternc/sqlbackup.sh -t weekly
15 # Every 5 minutes, spool waiting domain changes
16 */5 * * * * root /usr/lib/alternc/update_domains.sh
18 # Every 5 minutes, do mails actions
19 */5 * * * * root /usr/lib/alternc/update_mails.sh
21 # Every hour, check for slave_dns refreshes
22 5 * * * * root /usr/lib/alternc/slave_dns
24 # Every day at 2am, compute web, mail and db space usage per account.
25 # You may put this computing every week only or on your filer on busy services.
28 # Once a week at 7am, optimise the AlternC database
31 # Every 30 minutes, do cron_users actions
32 00,30 * * * *
alterncpanel /usr/lib/alternc/cron_users.sh
34 # Every 20 minutes, do actions
35 00,20 * * * * root /usr/lib/alternc/do_actions.php
37 # Every hour, stop expired VMs
38 10 * * * *
alterncpanel /usr/lib/alternc/lxc_stopexpired.php