j_hao 9 лет назад
Родитель
Сommit
ec60aa0cc6
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      Schedule/ProxyRefreshSchedule.py

+ 2 - 2
Schedule/ProxyRefreshSchedule.py

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