Explorar o código

[fix] minutes

j_hao %!s(int64=9) %!d(string=hai) anos
pai
achega
ec60aa0cc6
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Schedule/ProxyRefreshSchedule.py

+ 2 - 2
Schedule/ProxyRefreshSchedule.py

@@ -65,7 +65,7 @@ def main(process_num=100):
 if __name__ == '__main__':
     # pp = ProxyRefreshSchedule()
     # pp.main()
-    main()
+    # main()
     sched = BlockingScheduler()
-    sched.add_job(main, 'interval', minute=20)
+    sched.add_job(main, 'interval', minutes=20)
     sched.start()