allow cron to be controlled from a variable or config file #22

Closed
opened 2023-06-18 01:51:21 -05:00 by jblu · 1 comment
Owner

$CRON in crontab

cron section in config.toml

$CRON in crontab cron section in config.toml
Author
Owner

using supercronic

[entrypoint.sh]
echo "${CRON} bash /app/backup.sh" >> "${CRON_CONFIG_FILE}"

exec supercronic -passthrough-logs -quiet "${CRON_CONFIG_FILE}"
using supercronic ``` [entrypoint.sh] echo "${CRON} bash /app/backup.sh" >> "${CRON_CONFIG_FILE}" exec supercronic -passthrough-logs -quiet "${CRON_CONFIG_FILE}" ```
jblu closed this issue 2023-06-23 03:52:29 -05:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: jblu/crane#22
No description provided.