mirror of
https://github.com/fradelg/docker-mysql-cron-backup.git
synced 2025-01-18 16:22:33 +01:00
Better wait for crond
This commit is contained in:
parent
74aa80e2b3
commit
9bd732897e
1 changed files with 1 additions and 1 deletions
2
run.sh
2
run.sh
|
@ -34,6 +34,6 @@ crond -f -l 8 -L /mysql_backup.log &
|
|||
|
||||
echo "Listening on crond, and wait..."
|
||||
|
||||
while : ; do sleep 1 ; done
|
||||
tail -f /dev/null & wait $!
|
||||
|
||||
echo "Script is shutted down."
|
Loading…
Reference in a new issue