I am working with sql server 2012 and have some jobs set up on it to run at different times during the day. If the job fails I want to be alerted of such.
On the server I have some software the monitors the event viewer. I would like to set up my jobs to write to the servers event viewer if the job fails. I would like to write with event id 999 and level of error.
How can I set up my jobs to do so?