|
@@ -68,7 +68,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', minutes=20)
|
|
sched.add_job(main, 'interval', minutes=20)
|
|
|
sched.start()
|
|
sched.start()
|