]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
crontab: Adjust crontab to hourly launch the update-location-database
authorStefan Schantl <stefan.schantl@ipfire.org>
Mon, 9 Dec 2019 13:19:53 +0000 (14:19 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Mon, 9 Dec 2019 13:19:53 +0000 (14:19 +0100)
script.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/cron/crontab

index 56801394ece18abd19b2df5c324db30befa64c20..519554195bd0543e58773c086599f08f7801d461 100644 (file)
@@ -60,7 +60,7 @@ HOME=/
 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
+%hourly,random * * * [ -f "/var/ipfire/red/active" ] && /usr/local/bin/update-location-database >/dev/null 2>&1
 
 # Retry sending spooled mails regularly
 %hourly * /usr/sbin/dma -q