From 3e85f1d0d48f0fb65a83af6ce3fb4b6a08f0bb1a Mon Sep 17 00:00:00 2001 From: Tom Date: Wed, 28 Dec 2016 13:59:43 -0600 Subject: Create an option that lets you require two failures before alerting. --- README.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index adaeff2..3be415d 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,8 @@ JobBase is the base for a job, and should be used when you have a single, custom * This should return a JobFrequency constant indicating how often you want the job to run * notifyOnFailureEvery * This should return a JobFailureNotificationFrequency constant indicating how often you want to be notified about a (continually) failing job +* numberFailuresBeforeNotification + * This should return a JobFailureCountMinimumBeforeNotification constant indicating how many failures should occur in a row before notifying on failure * execute * This does the work. It returns True if the job succeeded or False if it didn't * onFailure -- cgit v1.2.3