Browse Source

增加定时任务

yf_yzl 2 years atrás
parent
commit
4dac190f37
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/cbd_msg.py

+ 1 - 1
scripts/cbd_msg.py

@@ -117,7 +117,7 @@ def product_cbd_alarm():
             logger.warning(f"综合预警: {alarm_obj.id}")  
             logger.warning(f"综合预警: {alarm_obj.id}")  
 
 
 # 每天的8点执行任务
 # 每天的8点执行任务
-schedule.every().day.at("11:05").do(product_cbd_alarm)
+schedule.every().day.at("05:00").do(product_cbd_alarm)
 
 
 while True:
 while True:
     schedule.run_pending()
     schedule.run_pending()