@@ -85,7 +85,7 @@ if __name__ == '__main__':
scheduler = BlockingScheduler()
scheduler.add_job(func=download_data, trigger='cron', day_of_week='0-4', hour='20', minute='05',
- timezone="Asia/Shanghai")
+ timezone="Asia/Shanghai", max_instances=250)
try:
scheduler.start()
except (KeyboardInterrupt, SystemExit):
@@ -348,7 +348,7 @@ if __name__ == '__main__':
scheduler.add_job(func=ind, trigger='cron', day_of_week='0-4', hour='20', minute='30',