]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - config/cron/crontab
Merge remote-tracking branch 'ms/ipsec-subnets' into next
[ipfire-2.x.git] / config / cron / crontab
index d78d08f593529a9209499bf3bc7a68777f324dc6..02abadc3481a7fcec2f0ddf6ff52d748e2607127 100644 (file)
@@ -25,9 +25,7 @@ HOME=/
 17 5 * * *     /etc/init.d/tmpfs backup >/dev/null
 
 # Update dynamic DNS records every five minutes.
-# Force an update once a month
 */5 * * * *    [ -f "/var/ipfire/red/active" ] && /usr/bin/ddns update-all
-3 2 1 * *      [ -f "/var/ipfire/red/active" ] && /usr/bin/ddns update-all --force
 
 # Logwatch
 01 0 * * *     /usr/local/bin/logwatch > /var/log/logwatch/`date -I -d yesterday`; \
@@ -57,3 +55,12 @@ HOME=/
 # Re-read firewall rules every Sunday in March, October and November to take care of daylight saving time
 00 3 * 3 0          /usr/local/bin/timezone-transition /usr/local/bin/firewallctrl
 00 2 * 10-11 0      /usr/local/bin/timezone-transition /usr/local/bin/firewallctrl
+
+# 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