Kaynağa Gözat

[fix] minutes

j_hao 9 yıl önce
ebeveyn
işleme
ec60aa0cc6
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  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()