Browse Source

调整定时任务时间

zhangyong 1 year ago
parent
commit
f39691a79c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      agc_data.py

+ 2 - 2
agc_data.py

@@ -80,8 +80,8 @@ def cg_operation(platform, data):
 schedule.every().day.at("19:20").do(gs_task, "kuaishou")
 schedule.every().day.at("19:30").do(gs_task, "douyin")
 schedule.every().day.at("18:00").do(gs_task, "zhannei")
-schedule.every(8).hours.do(cg_task, "douyin")
-schedule.every(8).hours.do(cg_task, "kuaishou")
+schedule.every(4).hours.do(cg_task, "douyin")
+schedule.every(4).hours.do(cg_task, "kuaishou")
 while True:
     schedule.run_pending()
     time.sleep(1)