Skip to content

Commit

Permalink
Run ovs_healthcheck_long only once a day (#130)
Browse files Browse the repository at this point in the history
Fix issue in cron where it would twice at 4am...

Signed-off-by: Jo De Boeck <[email protected]>
  • Loading branch information
grimpy authored Dec 19, 2017
1 parent d0a4bc5 commit 0893c28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jumpscripts/healthchecks/ovs_healthcheck_long.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
category = "monitor.healthcheck"
roles = ['storagedriver']
interval = (2 * j.application.whoAmI.nid) % 30
period = "%s,%s 4 * * *" % (interval, interval + 30)
period = "%s 4 * * *" % interval
timeout = 60 * 5
enable = True
async = True
Expand Down

0 comments on commit 0893c28

Please sign in to comment.