Fix no new_job error

This commit is contained in:
amcmanu3 2022-08-04 23:57:22 -04:00
parent 64122f3674
commit ad318296dc

View File

@ -208,6 +208,7 @@ class TasksManager:
# load schedules from DB
for schedule in schedules:
if schedule.interval != "reaction":
new_job = "error"
if schedule.cron_string != "":
try:
new_job = self.scheduler.add_job(