From 16480f7d70377495dcd0ede2d6baeaa724c3de94 Mon Sep 17 00:00:00 2001 From: Fedor Borshev Date: Tue, 9 Feb 2021 22:59:56 +0300 Subject: [PATCH] go-cron run fix --- run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 590c958..50179ba 100644 --- a/run.sh +++ b/run.sh @@ -9,5 +9,5 @@ fi if [ "${SCHEDULE}" = "**None**" ]; then sh backup.sh else - exec go-cron -p 1880 "$SCHEDULE" /bin/sh backup.sh + exec go-cron -s "$SCHEDULE" -p 1880 -- /bin/sh ./backup.sh fi \ No newline at end of file