chore: package
This commit is contained in:
9
s6/crond/run
Executable file
9
s6/crond/run
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash -eu
|
||||
|
||||
# specific to alpine, won't work with debian
|
||||
|
||||
# place crontab /!\ UTC time
|
||||
printf "ping=\"curl -fsS -m 10 --retry 5 -o /dev/null ${HC_PING}\"\n${SCHEDULE} /app/scripts/runjob.sh && \${ping} || \${ping}/fail \n" | crontab -
|
||||
|
||||
# start cron
|
||||
crond -f
|
Reference in New Issue
Block a user