diff --git a/resources/scripts/php/run-scheduler.sh b/resources/scripts/php/run-scheduler.sh index 71d63f0..78748fe 100755 --- a/resources/scripts/php/run-scheduler.sh +++ b/resources/scripts/php/run-scheduler.sh @@ -21,6 +21,6 @@ echo "Running every ${SCHEDULE_MINUTES} minutes: ${COMMAND}" while true do - ${COMMAND} & + eval "${COMMAND} &" sleep ${SCHEDULE_SECONDS} done