diff --git a/app.py b/app.py index 8a96505..ad2c1a9 100644 --- a/app.py +++ b/app.py @@ -1392,11 +1392,6 @@ def delete_old_logs(): if __name__ == '__main__': with app.app_context(): - scheduler = BackgroundScheduler() - schedule_retention_job() - 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())