]> git.ipfire.org Git - ipfire.org.git/commitdiff
cron: Kill the mirror check if not done without 10 minutes
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 23 Jun 2025 10:07:42 +0000 (10:07 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 23 Jun 2025 10:07:42 +0000 (10:07 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/crontab/ipfire

index f79621afc73ebd72838d533b5596dc6418527147..7fb9da61ef9c0f549eadd3b17a1adbb9492c3e77 100644 (file)
@@ -16,7 +16,7 @@ SHELL=/bin/bash
 30 * * * *     nobody  ipfire.org --logging=error cleanup
 
 # Check mirrors once every 30 min
-*/30 * * * *   nobody  flock --nonblock --conflict-exit-code 0 /tmp/.ipfire.org.check-mirrors ipfire.org --logging=error check-mirrors
+*/30 * * * *   nobody  timeout 600 ipfire.org --logging=error check-mirrors
 
 # Toot once a day
 0 8 * * *      nobody  sleep ${RANDOM} && ipfire.org --logging=error toot