fix waitress
This commit is contained in:
parent
60e0762337
commit
1f16e5d130
4
app.py
4
app.py
@ -1129,8 +1129,8 @@ def scheduled_deployments():
|
||||
db.session.commit()
|
||||
|
||||
scheduler = BackgroundScheduler(timezone="UTC")
|
||||
scheduler.add_job(func=scheduled_deployments, trigger="interval", minutes=5, next_run_time=datetime.now())
|
||||
scheduler.add_job(func=automated_backups, trigger="interval", minutes=5, next_run_time=datetime.now())
|
||||
scheduler.add_job(func=scheduled_deployments, trigger="interval", minutes=1, next_run_time=datetime.now())
|
||||
scheduler.add_job(func=automated_backups, trigger="interval", minutes=1, next_run_time=datetime.now())
|
||||
scheduler.add_job(func=cleanup_old_backups, trigger="interval", hours=24, next_run_time=datetime.now())
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user