]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
crontab: Add job for periodic ipblocklist updates.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 10 Apr 2022 09:40:56 +0000 (11:40 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 7 May 2022 09:41:52 +0000 (11:41 +0200)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/cron/crontab

index d94dd65c2f6ef3c7d94a358e8446ab650b53c75b..a83c9573af2fb3a5abef9fbb8dfd66a317b2fede 100644 (file)
@@ -62,6 +62,9 @@ HOME=/
 # Update location database
 %hourly,random * [ -f "/var/ipfire/red/active" ] && /usr/local/bin/update-location-database >/dev/null 2>&1
 
+# Update Lists for IP-based blocking.
+%hourly,random * [ -f "/var/ipfire/red/active" ] && /usr/local/bin/update-ipblocklists >/dev/null 2>&1
+
 # Retry sending spooled mails regularly
 %hourly * /usr/sbin/dma -q