@@ -21,8 +21,8 @@ def schedule_tasks():
schedule.every().hour.at(":35").do(jab_top_recommend)
if __name__ == "__main__":
- jab_top_recommend()
+ # jab_top_recommend()
- # schedule_tasks() # 调用任务调度函数
+ schedule_tasks() # 调用任务调度函数
- # while True:
+ while True:
- # schedule.run_pending()
+ schedule.run_pending()
- # time.sleep(1) # 每秒钟检查一次
+ time.sleep(1) # 每秒钟检查一次