Fix problem with cron frequency introduced with 682960d450

This commit is contained in:
maride 2024-07-21 18:27:05 +02:00
parent 737b529b8d
commit 683789fa5f

View File

@ -10,7 +10,7 @@ fi
# Run the pull script regularly # Run the pull script regularly
target="/aux/pull-n-build.sh" 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 grep "$target" /var/spool/cron/crontabs/root || echo "$entry" >> /var/spool/cron/crontabs/root
# start cron daemon (goes into background) # start cron daemon (goes into background)