11 lines
227 B
Bash
11 lines
227 B
Bash
|
#!/bin/bash -e
|
||
|
|
||
|
# Run the pull script regularly
|
||
|
target="/aux/build.sh"
|
||
|
entry="*/10 * * * * $target"
|
||
|
grep "$target" /etc/cron.d/supercow || echo "$entry" >> /etc/cron.d/supercow
|
||
|
|
||
|
# start cron daemon (goes into background)
|
||
|
cron
|
||
|
|