Skip to content

Commit

Permalink
go-cron run fix
Browse files Browse the repository at this point in the history
  • Loading branch information
f213 committed Feb 9, 2021
1 parent 08550fe commit 16480f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 16480f7

Please sign in to comment.