How do you use cloud databases? Take the survey.
Options

No Email Alert on Consecutive Failures

Is there a way to get an email alert on consecutive failures? We have a SQL Server Agent Job that runs daily. When it fails for the first time, we get an email alert. We usually go in and try to fix the issue, but if it happens to fail the following day as well, we are not alerted via email.

Is there a way to turn this on?
Tagged:

Answers

  • Options

    Hi Neil,

    Thank you for your post. 

    For the SQL Server Agent job alert this will alert on the first time a job fails, it will not alert on subsequent failures though as this is a Continuous alert. So the alert will remain active until the job completes successfully again. If after completing successfully the job then fails, it will alert on this failure.

  • Options
    nilerivernileriver Posts: 6 Bronze 1
    edited October 30, 2023 8:47PM
    Ben_P said:

    Hi Neil,

    Thank you for your post. 

    For the SQL Server Agent job alert this will alert on the first time a job fails, it will not alert on subsequent failures though as this is a Continuous alert. So the alert will remain active until the job completes successfully again. If after completing successfully the job then fails, it will alert on this failure.

    Is there any way to override this behavior?
  • Options
    I'm afraid there isn't a way to override this behaviour. 
Sign In or Register to comment.