2019-04-13 17:04:54 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# Dump all env vars so we can source them in cron jobs
|
2024-01-05 02:50:13 +00:00
|
|
|
rcb dump-env > /env.sh
|
2019-04-13 17:04:54 +00:00
|
|
|
|
2019-12-08 05:38:56 +00:00
|
|
|
# Write crontab
|
|
|
|
rcb crontab > crontab
|
|
|
|
|
2019-04-13 17:04:54 +00:00
|
|
|
# start cron in the foreground
|
|
|
|
crontab crontab
|
|
|
|
crond -f
|