diff options
| author | Tom <tom@ritter.vg> | 2016-12-28 13:59:43 -0600 |
|---|---|---|
| committer | Tom Ritter <tom@ritter.vg> | 2016-12-28 14:37:55 -0600 |
| commit | 3e85f1d0d48f0fb65a83af6ce3fb4b6a08f0bb1a (patch) | |
| tree | 43367c6c5c98bf31759e576bcf43efabd4772e57 /README.md | |
| parent | 50111ca74eaa5b14253814a9aa39e35b40480935 (diff) | |
Create an option that lets you require two failures before alerting.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |
