diff --git a/core/repair_worker.py b/core/repair_worker.py index 4002f50c..207f9df0 100644 --- a/core/repair_worker.py +++ b/core/repair_worker.py @@ -489,6 +489,9 @@ class RepairWorker: continue interval_hours = config['interval_hours'] + if not interval_hours or interval_hours <= 0: + continue # Skip jobs with invalid interval + last_run = self._get_last_run(job_id) if not last_run or not last_run.get('finished_at'):