fix cron on start
This commit is contained in:
parent
b22134f15b
commit
c80dbdaee1
2
app.py
2
app.py
@ -1392,7 +1392,7 @@ def delete_old_logs():
|
|||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
with app.app_context():
|
with app.app_context():
|
||||||
scheduler = BackgroundScheduler()
|
#scheduler = BackgroundScheduler()
|
||||||
schedule_retention_job()
|
schedule_retention_job()
|
||||||
schedule_auto_export_job()
|
schedule_auto_export_job()
|
||||||
schedule_auto_binary_backup_job()
|
schedule_auto_binary_backup_job()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user