Better wait for crond

This commit is contained in:
Giuseppe Nardiello 2023-01-17 22:23:34 +01:00
parent 74aa80e2b3
commit 9bd732897e

2
run.sh
View file

@ -34,6 +34,6 @@ crond -f -l 8 -L /mysql_backup.log &
echo "Listening on crond, and wait..." echo "Listening on crond, and wait..."
while : ; do sleep 1 ; done tail -f /dev/null & wait $!
echo "Script is shutted down." echo "Script is shutted down."