made time_delta an arg; does not work but can be fixed; -k and -x are wrong datatype
This commit is contained in:
parent
bc77ebe26d
commit
fdde6cbb8c
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ def main():
|
|||
for service in hostgroup.get_services():
|
||||
for host in hostgroup.get_hosts():
|
||||
for period in service.get_periods():
|
||||
time_delta += args.delay
|
||||
time_delta += int(args.delay)
|
||||
new_start_date = start_date + datetime.timedelta(seconds=time_delta)
|
||||
job = Job(service,
|
||||
host,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue