Commit 404d2f91 authored by Jonathan Michalon's avatar Jonathan Michalon

Remove report init time

Don't attempt to write a report after an arbitrary init time
but after a regular report interval.
parent 19dd9bec
......@@ -43,7 +43,8 @@ if __name__ == '__main__':
# register report signal interval
if config.emails.report.every > 0:
signal.setitimer(signal.ITIMER_REAL, 60, config.emails.report.every)
signal.setitimer(signal.ITIMER_REAL, config.emails.report.every,
config.emails.report.every)
# Parse command line
parser = argparse.ArgumentParser()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment