Files
watchstate/docker/files/cron.sh
2022-07-05 17:17:17 +03:00

10 lines
189 B
Bash
Executable File

#!/usr/bin/env sh
UID=$(id -u)
if [ 0 == "${UID}" ]; then
runuser -u www-data -- /usr/bin/console system:tasks --run --save-log
else
/usr/bin/console system:tasks --run --save-log
fi