From: Michael Tremer Date: Tue, 8 Jul 2014 14:07:30 +0000 (+0200) Subject: ddns: Execute a forced update once a month X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cfcfb947c3d33bed44adc23bdc6854e4a71c8eb0;p=people%2Fms%2Fipfire-2.x.git ddns: Execute a forced update once a month --- diff --git a/config/cron/crontab b/config/cron/crontab index f7973a5e0a..d78d08f593 100644 --- a/config/cron/crontab +++ b/config/cron/crontab @@ -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`; \