changed to supercronic
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-06-19 19:01:44 -05:00
parent d89bd69ee5
commit c4ffcee3a3
3 changed files with 8 additions and 4 deletions
+7 -2
View File
@@ -1,5 +1,10 @@
#!/bin/sh
CRON_CONFIG_FILE="/opt/crontab"
printenv | grep -v "no_proxy" >> /etc/environment
# CRON
get_env CRON
CRON="${CRON:-"5 * * * *"}"
crond -f
echo "${CRON} sh /opt/phc.sh" >> "${CRON_CONFIG_FILE}"
exec supercronic -passthrough-logs -quiet "${CRON_CONFIG_FILE}"