From 27f969cc4bba888b741e39805ac15c45948c7b99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Sun, 23 Feb 2025 23:08:30 +0100 Subject: [PATCH] fix cron on start --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 0da79fd..009fae8 100644 --- a/app.py +++ b/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)