拆分 day 和 hour 逻辑
Build and Push Docker Image / build-and-push (push) Successful in 1m42s

This commit is contained in:
cheney
2025-07-22 15:32:00 +08:00
parent bcf209b37f
commit fcf9b977fb
7 changed files with 121 additions and 5 deletions
+4 -2
View File
@@ -1,2 +1,4 @@
# 设置每天 14:45 执行
45 14 * * * root /usr/local/bin/python /app/main.py >> /var/log/cron.log 2>&1
# 开市每小时执行
0 * * * * root /usr/local/bin/python /app/hour.py 2>&1 | tee -a /var/log/cron.log /app/log/cron.log
# 每天 14:45 执行
45 14 * * * root /usr/local/bin/python /app/day.py 2>&1 | tee -a /var/log/cron.log /app/log/cron.log