made time_delta an arg; does not work but can be fixed; -k and -x are wrong datatype

This commit is contained in:
Johannes Findeisen 2013-10-29 01:51:06 +01:00
commit fdde6cbb8c

View file

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