Explorar el Código

[fix] minutes

j_hao hace 9 años
padre
commit
ec60aa0cc6
Se han modificado 1 ficheros con 2 adiciones y 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()