]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - config/cron/crontab
dma: Add cron job to clean up spool directory
[ipfire-2.x.git] / config / cron / crontab
index 9ba52450a3a18804dc98ead1caa49dc2ef6c9a79..02abadc3481a7fcec2f0ddf6ff52d748e2607127 100644 (file)
@@ -58,3 +58,9 @@ HOME=/
 
 # Update GeoIP database once a month.
 %monthly,random * * * [ -f "/var/ipfire/red/active" ] && /usr/local/bin/xt_geoip_update >/dev/null 2>&1
+
+# Retry sending spooled mails regularly
+%hourly * /usr/sbin/dma -q
+
+# Cleanup the mail spool directory
+%weekly * * /usr/sbin/dma-cleanup-spool