Skip to content

Commit 16480f7

Browse files
committed
go-cron run fix
1 parent 08550fe commit 16480f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ fi
99
if [ "${SCHEDULE}" = "**None**" ]; then
1010
sh backup.sh
1111
else
12-
exec go-cron -p 1880 "$SCHEDULE" /bin/sh backup.sh
12+
exec go-cron -s "$SCHEDULE" -p 1880 -- /bin/sh ./backup.sh
1313
fi

0 commit comments

Comments
 (0)