From eb92461e54948ce9b24efaeba16934a825f962f0 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 30 May 2023 11:59:44 +0200 Subject: docker: add SCHEDULE=minutely support to run_cron.sh --- docker/run_cron.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docker/run_cron.sh b/docker/run_cron.sh index db7ae26..c09ba95 100755 --- a/docker/run_cron.sh +++ b/docker/run_cron.sh @@ -12,11 +12,12 @@ schedule_to_cron() { local schedule for schedule; do case "$schedule" in - 15min) echo '*/15 * * * *' ;; - hourly) echo '0 * * * *' ;; - daily) echo '0 0 * * *' ;; - weekly) echo '0 0 * * 1' ;; - monthly) echo '0 0 1 * *' ;; + minutely) echo '* * * * *' ;; + 15min) echo '*/15 * * * *' ;; + hourly) echo '0 * * * *' ;; + daily) echo '0 0 * * *' ;; + weekly) echo '0 0 * * 1' ;; + monthly) echo '0 0 1 * *' ;; *) echo "$schedule" ;; -- cgit v1.2.3