|
@@ -324,14 +324,14 @@ def updateMinigramInfoJob():
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
if __name__ == '__main__':
|
|
-
|
|
|
|
- schedule.every().day.at("01:00").do(Functions().job_with_thread, updateArticlesJob)
|
|
|
|
|
|
+ updateMinigramInfoJob()
|
|
|
|
+ schedule.every().day.at("01:30").do(Functions().job_with_thread, updateArticlesJob)
|
|
|
|
|
|
schedule.every().day.at("03:30").do(Functions().job_with_thread, updateMinigramInfoJob)
|
|
schedule.every().day.at("03:30").do(Functions().job_with_thread, updateMinigramInfoJob)
|
|
|
|
|
|
while True:
|
|
while True:
|
|
schedule.run_pending()
|
|
schedule.run_pending()
|
|
- time.sleep(0.5)
|
|
|
|
|
|
+ time.sleep(1)
|
|
# log(
|
|
# log(
|
|
# task="updateMinigramInfoDaily",
|
|
# task="updateMinigramInfoDaily",
|
|
# function="main",
|
|
# function="main",
|