Make crontab configurable

This commit is contained in:
Einar Forselv
2019-12-08 06:38:56 +01:00
parent 1e21ff422f
commit ae835f30d3
6 changed files with 99 additions and 3 deletions

View File

@@ -3,6 +3,9 @@
# Dump all env vars so we can source them in cron jobs
printenv | sed 's/^\(.*\)$/export \1/g' > /env.sh
# Write crontab
rcb crontab > crontab
# start cron in the foreground
crontab crontab
crond -f