added core config to jobs and tasks and made use of core variables raw in the tasks
This commit is contained in:
parent
25f83c3ae9
commit
0bfa4b3daa
5 changed files with 23 additions and 21 deletions
|
|
@ -67,7 +67,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, hostgroup.get_members(), hostgroup.get_processors())
|
||||
job = Job(service, host, hostgroup.get_members(), hostgroup.get_processors(), core)
|
||||
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