aboutsummaryrefslogtreecommitdiff
path: root/jobs
diff options
context:
space:
mode:
authorTom Ritter <tom@ritter.vg>2017-02-06 09:18:57 -0600
committerTom Ritter <tom@ritter.vg>2017-02-06 09:18:57 -0600
commitbc6b74e8d402946afcf5794634e1601ef21a4ba5 (patch)
treee7e5ffa11b71bb71d44bedcd881dea62f8f1f45f /jobs
parent8eae75fa67cd3febea1692f186fa179c9d5b19c4 (diff)
Give a day notification a little widdle room
Diffstat (limited to 'jobs')
-rwxr-xr-xjobs/JobBase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jobs/JobBase.py b/jobs/JobBase.py
index 1882443..7658a37 100755
--- a/jobs/JobBase.py
+++ b/jobs/JobBase.py
@@ -82,7 +82,7 @@ class JobBase(object):
elif notifyFrequency == JobFailureNotificationFrequency.EVERYDAY:
now = time.time()
lastNotify = jobState.LastNotifyTime
- if datetime.timedelta(seconds=(now - lastNotify)) > datetime.timedelta(hours=24, minutes=0, seconds=0):
+ if datetime.timedelta(seconds=(now - lastNotify)) > datetime.timedelta(hours=23, minutes=50, seconds=0):
return True
return False
elif notifyFrequency == JobFailureNotificationFrequency.ONSTATECHANGE: