mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix no new_job error
This commit is contained in:
parent
64122f3674
commit
ad318296dc
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user