mirror of
https://github.com/fradelg/docker-mysql-cron-backup.git
synced 2024-11-01 00:21:46 +01:00
Corrected HEALTHY.status typo
This commit is contained in:
parent
96ca5bb74a
commit
25729c7bc3
1 changed files with 1 additions and 1 deletions
2
run.sh
2
run.sh
|
@ -14,7 +14,7 @@ elif [ -n "${INIT_RESTORE_LATEST}" ]; then
|
|||
find /backup -maxdepth 1 -name '*.sql.gz' | tail -1 | xargs /restore.sh
|
||||
fi
|
||||
|
||||
touch /.status
|
||||
touch /HEALTHY.status
|
||||
|
||||
echo "${CRON_TIME} /backup.sh >> /mysql_backup.log 2>&1" > /tmp/crontab.conf
|
||||
crontab /tmp/crontab.conf
|
||||
|
|
Loading…
Reference in a new issue