diff --git a/Readme.md b/Readme.md index 2570ba1..e1cb616 100644 --- a/Readme.md +++ b/Readme.md @@ -53,7 +53,7 @@ 30 23 * * * /root/medicine-config/medicine-remd/update.sh 00 00 * * * /root/medicine-config/scripts/docker-cleanup.sh -* * * * * /root/medicine-config/scripts/check-crontab.sh >> /var/log/check-crontab.log 2>&1 +* * * * * /root/medicine-config/scripts/crontab-check.sh >> /var/log/crontab-check.sh 2>&1 sudo timedatectl set-timezone Asia/Vladivostok diff --git a/scripts/crontab-check.sh b/scripts/crontab-check.sh index f024c66..13f8c90 100755 --- a/scripts/crontab-check.sh +++ b/scripts/crontab-check.sh @@ -1,3 +1,4 @@ #!/bin/sh echo $PATH; +(cd /root/medicine-config/medicine && docker-compose ps)