Parcourir la source

删除 limit报警
把 bot 独立出来

罗俊辉 il y a 1 an
Parent
commit
f35bd455da
1 fichiers modifiés avec 1 ajouts et 5 suppressions
  1. 1 5
      changsha_bot.py

+ 1 - 5
changsha_bot.py

@@ -5,7 +5,6 @@ import json
 import datetime
 import time
 
-import schedule
 import requests
 
 from common.db import RedisClient
@@ -86,7 +85,4 @@ def monitor():
 
 
 if __name__ == '__main__':
-    schedule.every().day.at("08:00").do(monitor)
-    while True:
-        schedule.run_pending()
-        time.sleep(60)
+    monitor()