|
@ -4,7 +4,7 @@ |
|
|
## Quick and dirty check launching backup |
|
|
## Quick and dirty check launching backup |
|
|
## |
|
|
## |
|
|
|
|
|
|
|
|
if ! cron_line=$(docker exec -ti myc_cron_1 cat /etc/cron.d/rsync-backup | grep "\* \* \*"); then |
|
|
|
|
|
|
|
|
if ! cron_line=$(docker exec myc_cron_1 cat /etc/cron.d/rsync-backup | grep "\* \* \*"); then |
|
|
echo "can't find cron_line in cron container." >&2 |
|
|
echo "can't find cron_line in cron container." >&2 |
|
|
exit 1 |
|
|
exit 1 |
|
|
fi |
|
|
fi |
|
|