added Transactoions
This commit is contained in:
parent
e052708205
commit
445601ffc0
8 changed files with 84 additions and 4 deletions
|
|
@ -155,8 +155,9 @@ def main():
|
|||
core,
|
||||
hostgroup)
|
||||
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:
|
||||
scheduler_job.misfire_grace_time = 2
|
||||
job.set_job(scheduler_job)
|
||||
jobs.append(job)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue