11 lines
227 B
Bash
Executable File
11 lines
227 B
Bash
Executable File
#!/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
|
|
|