Skip to content

Commit

Permalink
fix: cron bug
Browse files Browse the repository at this point in the history
  • Loading branch information
14790897 committed Apr 18, 2024
1 parent 3b1fada commit e749db7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cron-Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e749db7

Please sign in to comment.