fix cron on start
This commit is contained in:
parent
1e910e347c
commit
27f969cc4b
2
app.py
2
app.py
@ -1397,7 +1397,7 @@ if __name__ == '__main__':
|
||||
schedule_auto_export_job()
|
||||
schedule_auto_binary_backup_job()
|
||||
scheduler.add_job(func=cleanup_old_logs, trigger='interval', days=1, id="cleanup_logs_job")
|
||||
|
||||
reschedule_jobs()
|
||||
scheduler.start()
|
||||
atexit.register(lambda: scheduler.shutdown())
|
||||
app.run(host='0.0.0.0', port=5581, use_reloader=False, debug=True)
|
||||
|
Loading…
x
Reference in New Issue
Block a user