+3
-6
@@ -1,10 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
CRON_CONFIG_FILE="/opt/crontab"
|
||||
|
||||
# CRON
|
||||
get_env CRON
|
||||
CRON="${CRON:-"5 * * * *"}"
|
||||
echo "${CRON} sh /opt/phc.sh" > $CRON_CONFIG_FILE
|
||||
|
||||
echo "${CRON} sh /opt/phc.sh" >> "${CRON_CONFIG_FILE}"
|
||||
|
||||
exec supercronic -passthrough-logs -quiet "${CRON_CONFIG_FILE}"
|
||||
exec supercronic -passthrough-logs -quiet $CRON_CONFIG_FILE
|
||||
Reference in New Issue
Block a user