mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2025-12-14 17:58:07 +00:00
Make crontab configurable
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user