crane/entrypoint.sh
jblu b4d92128df
All checks were successful
continuous-integration/drone/push Build is passing
added supercronic
2023-06-19 18:46:37 -05:00

10 lines
217 B
Bash

#!/bin/sh
CRON_CONFIG_FILE="/opt/crontab"
# CRON
get_env CRON
CRON="${CRON:-"5 * * * *"}"
echo "${CRON} python /opt/crane.py" >> "${CRON_CONFIG_FILE}"
exec supercronic -passthrough-logs -quiet "${CRON_CONFIG_FILE}"