added members and processor info to job
This commit is contained in:
parent
0d8cc5fd6b
commit
8cd39860ae
3 changed files with 4 additions and 3 deletions
|
|
@ -66,7 +66,7 @@ def main():
|
|||
for service in hostgroup.get_services():
|
||||
for host in hostgroup.get_hosts():
|
||||
for period in service.get_periods():
|
||||
job = Job(service, host)
|
||||
job = Job(service, host, hostgroup.get_members(), hostgroup.get_processors())
|
||||
schedulerJob = period.createJob(scheduler, job, handleJob)
|
||||
if schedulerJob is not None:
|
||||
job.set_job(schedulerJob)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue