From e749db7d50586082e8efae2e3e3cd8b8a1f3dd56 Mon Sep 17 00:00:00 2001 From: 14790897 <14790897abc@gmail.com> Date: Thu, 18 Apr 2024 16:46:25 +0800 Subject: [PATCH] fix: cron bug --- cron-Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cron-Dockerfile b/cron-Dockerfile index 8332016c..ed974818 100644 --- a/cron-Dockerfile +++ b/cron-Dockerfile @@ -75,8 +75,7 @@ RUN echo '#!/bin/bash\n\ RUN chmod +x /app/run_task.sh # 创建一个新的 crontab 文件 -RUN echo "0 3 * * * root /app/run_task.sh -" > /etc/cron.d/puppeteer-cron +RUN echo "0 3 * * * root /app/run_task.sh" > /etc/cron.d/puppeteer-cron # 给 crontab 文件适当的权限 RUN chmod 0644 /etc/cron.d/puppeteer-cron