added misfire_grace_time=2 to scheduler_job
This commit is contained in:
parent
9c6f2d001d
commit
11b6c0ebbe
1 changed files with 1 additions and 0 deletions
|
|
@ -154,6 +154,7 @@ def main():
|
||||||
core,
|
core,
|
||||||
hostgroup)
|
hostgroup)
|
||||||
scheduler_job = period.createJob(scheduler, job, handle_job, start_date=new_start_date)
|
scheduler_job = period.createJob(scheduler, job, handle_job, start_date=new_start_date)
|
||||||
|
scheduler_job.misfire_grace_time = 2
|
||||||
if scheduler_job is not None:
|
if scheduler_job is not None:
|
||||||
job.set_job(scheduler_job)
|
job.set_job(scheduler_job)
|
||||||
jobs.append(job)
|
jobs.append(job)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue