]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
ddns: Execute a forced update once a month
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 8 Jul 2014 14:07:30 +0000 (16:07 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 8 Jul 2014 14:07:30 +0000 (16:07 +0200)
config/cron/crontab

index f7973a5e0a74e30b6379d9b3762d9d2bed7db359..d78d08f593529a9209499bf3bc7a68777f324dc6 100644 (file)
@@ -25,9 +25,9 @@ HOME=/
 17 5 * * *     /etc/init.d/tmpfs backup >/dev/null
 
 # Update dynamic DNS records every five minutes.
-# Force an update once a week
+# Force an update once a month
 */5 * * * *    [ -f "/var/ipfire/red/active" ] && /usr/bin/ddns update-all
-9 2 * * 0      [ -f "/var/ipfire/red/active" ] && /usr/bin/ddns update-all --force
+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`; \