]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
crontab: Call xt_geoip_update random once a month.
authorStefan Schantl <stefan.schantl@ipfire.org>
Tue, 31 Mar 2015 16:56:32 +0000 (18:56 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Tue, 31 Mar 2015 17:44:09 +0000 (19:44 +0200)
config/cron/crontab

index 54e9b5fee2a9f55713497d6a90e872eea12a5796..3353092f656a17a76e1f9fc7dc39a1cfaf52fd1b 100644 (file)
@@ -59,4 +59,4 @@ HOME=/
 00 2 * 10-11 0      /usr/local/bin/timezone-transition /usr/local/bin/firewallctrl
 
 # Update GeoIP database once a month.
-3 2 1 * * *    [ -f "/var/ipfire/red/active" ] && /usr/local/bin/xt_geoip_update >/dev/null 2>&1
+%monthly,random * * [ -f "/var/ipfire/red/active" ] && /usr/local/bin/xt_geoip_update >/dev/null 2>&1