From 683789fa5fd0241557fbf14400ddac0b5c9861a2 Mon Sep 17 00:00:00 2001 From: maride Date: Sun, 21 Jul 2024 18:27:05 +0200 Subject: [PATCH] Fix problem with cron frequency introduced with 682960d450 --- init/cron.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/cron.sh b/init/cron.sh index b84c770..9ce900e 100755 --- a/init/cron.sh +++ b/init/cron.sh @@ -10,7 +10,7 @@ fi # Run the pull script regularly target="/aux/pull-n-build.sh" -entry="$BUILDFREQ * * * * $target" +entry="*/$BUILDFREQ * * * * $target" grep "$target" /var/spool/cron/crontabs/root || echo "$entry" >> /var/spool/cron/crontabs/root # start cron daemon (goes into background)