]> git.ipfire.org Git - people/stevee/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>
Sun, 8 May 2022 13:32:28 +0000 (15:32 +0200)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/cron/crontab

index 1a2537e54130d838cd5ae908dd965f9f46ad859f..da07f32ff8ea3686fa34ca6a80ae3a0ac2e80e1b 100644 (file)
@@ -62,8 +62,8 @@ 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
+# Update Lists for IP-based blocking every 15 minutes.
+@ 15 [ -f "/var/ipfire/red/active" ] && /usr/local/bin/update-ipblocklists >/dev/null 2>&1
 
 # Update surciata rules.
 %daily,random * [ -f "/var/ipfire/red/active" ] && /usr/local/bin/update-ids-ruleset >/dev/null 2>&1