From d428a6357f2c705c6b288188909fa5f62f35ab5a Mon Sep 17 00:00:00 2001 From: liuweiqing Date: Tue, 23 Apr 2024 21:37:35 +0800 Subject: [PATCH] fix: cron --- cron.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron.sh b/cron.sh index 33e50a3d..fe3b04b1 100644 --- a/cron.sh +++ b/cron.sh @@ -12,10 +12,10 @@ cd $WORKDIR # 重新启动 Docker Compose /usr/local/bin/docker-compose up -d >> ./cron.log 2>&1 -/usr/local/bin/docker-compose logs >> ./cron.log 2>&1 # 等待10分钟 sleep 10m +/usr/local/bin/docker-compose logs >> ./cron.log 2>&1 # 停止 Docker Compose /usr/local/bin/docker-compose down --remove-orphans --volumes >> ./cron.log 2>&1