added Transactoions

This commit is contained in:
Rafael Timmerberg 2014-04-19 02:13:51 +02:00
commit 445601ffc0
8 changed files with 84 additions and 4 deletions

View file

@ -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)