diff --git a/app.py b/app.py index cb2b133..173f538 100644 --- a/app.py +++ b/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())