9772885
asked on
tsql scheduled job info
Im using stored procedure sp_help_jobhistory to identify failed jobs and email them to me. i would like to include the step that failed and the message from the job history but im not sure where this info is stored ?
unsure. but i get the jobs to write everything to file: and attach the file with the email
http://www.mssqltips.com/tip.asp?tip=1054 may help as well
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Can you not just create an operator and notify on fail using the Advanced properties of the job step?
ASKER
ive had a look at the link which is very useful and although i can see i way of tracking individual steps on whether they are executing i cant see one for the overall job. I guess i could assmue that if any of the steps are executing then the job is but it would be nice of this was summerised somewhere else?