1.6 KB、38行 生 Blame 履歴
1MAILTO=suwako
2* * * * * echo "Test" > /tmp/cron_test.txt
3
430 3 * * * /bin/bash /var/vmail/backup/backup_mysql.sh
5
6# iRedAPD: Clean up expired tracking records hourly.
71 * * * * python3 /opt/iredapd/tools/cleanup_db.py >/dev/null
8
9# iRedAPD: Convert SPF DNS record of specified domain names to IP
10# addresses/networks hourly.
112 * * * * python3 /opt/iredapd/tools/spf_to_greylist_whitelists.py >/dev/null
12
13# iRedMail: Cleanup Amavisd database
141 2 * * * python3 /opt/www/iredadmin/tools/cleanup_amavisd_db.py >/dev/null
15
16# iRedAdmin: Clean up sql database.
171 * * * * python3 /opt/www/iredadmin/tools/cleanup_db.py >/dev/null 2>&1
18
19# iRedAdmin: Delete mailboxes on file system which belong to removed accounts.
201 * * * * python3 /opt/www/iredadmin/tools/delete_mailboxes.py
21# iRedMail: Cleanup Roundcube SQL database
222 2 * * * /usr/bin/php /opt/www/roundcubemail/bin/cleandb.sh >/dev/null
23
24# iRedMail: Cleanup Roundcube temporary files under 'temp/' directory
252 2 * * * /usr/bin/php /opt/www/roundcubemail/bin/gc.sh >/dev/null
26# iRedMail: Backup SOGo data databases on 04:01AM
271 4 * * * /bin/bash /var/vmail/backup/backup_sogo.sh
28
29# Fail2ban: Unban IP addresses pending for removal (stored in SQL db).
30* * * * * /bin/bash /usr/local/bin/fail2ban_banned_db unban_db
31
320 0 * * * /root/sync-vmail-backup.sh
330 6 * * * /root/sync-vmail-backup.sh
340 12 * * * /root/sync-vmail-backup.sh
350 18 * * * /root/sync-vmail-backup.sh
360 2 * * 0 /bin/sh /root/update_certs.sh
370 8 * * 2 /bin/sh /root/update_pkgs.sh
380 8 * * 5 /bin/sh /root/update_pkgs.sh