Merge pull request 'fixed crontab' (#27) from dev-fix-crontab into main
ci / docker (push) Successful in 38s

Reviewed-on: #27
This commit was merged in pull request #27.
This commit is contained in:
2026-04-10 16:55:55 -05:00
+2 -2
View File
@@ -2,7 +2,7 @@
CRON_CONFIG_FILE="/etc/crontabs/root"
echo "${CRON} python /opt/crane.py" > $CRON_CONFIG_FILE
echo "@reboot python /opt/crane.py" >> $CRON_CONFIG_FILE
grep -qF '${CRON} python /opt/crane.py' $CRON_CONFIG_FILE ||echo "${CRON} python /opt/crane.py" >> $CRON_CONFIG_FILE
grep -qF '@reboot' $CRON_CONFIG_FILE || echo "@reboot python /opt/crane.py" >> $CRON_CONFIG_FILE
exec crond -f