Fix problem with cron frequency introduced with 682960d450
This commit is contained in:
parent
737b529b8d
commit
683789fa5f
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user