]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
fcron: Try to update ipblocklists every 15 min.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 8 May 2022 13:32:28 +0000 (15:32 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Thu, 7 Jul 2022 15:28:01 +0000 (17:28 +0200)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/cron/crontab

index 7762a56ffd7c176b5544df6694b3aa766aae0414..b727531fc2f32bc8fb316e21154ec61131d9501f 100644 (file)
@@ -65,8 +65,8 @@ HOME=/
 # Perform a surciata rules update every 12 hours.
 @ 12h [ -f "/var/ipfire/red/active" ] && /usr/local/bin/update-ids-ruleset >/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
+# Update Lists for IP-based blocking every 15 minutes.
+@ 15 [ -f "/var/ipfire/red/active" ] && /usr/local/bin/update-ipblocklists >/dev/null 2>&1
 
 # Retry sending spooled mails regularly
 %hourly * /usr/sbin/dma -q