mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-29 11:56:25 -06:00
Fix name of recurring jobs
For recurring jobs, the name must be passed to the next job object when the job is rescheduled.
This commit is contained in:
parent
a19bdd0c9f
commit
d0ee68968c
@ -72,6 +72,7 @@ class JobRunner(ABC):
|
|||||||
kwargs["job_timeout"] = job.object.python_class.job_timeout
|
kwargs["job_timeout"] = job.object.python_class.job_timeout
|
||||||
cls.enqueue(
|
cls.enqueue(
|
||||||
instance=job.object,
|
instance=job.object,
|
||||||
|
name=job.name,
|
||||||
user=job.user,
|
user=job.user,
|
||||||
schedule_at=new_scheduled_time,
|
schedule_at=new_scheduled_time,
|
||||||
interval=job.interval,
|
interval=job.interval,
|
||||||
|
Loading…
Reference in New Issue
Block a user