How to automate SQL Jobs Status alerts?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Soniya Singh
    New Member
    • May 2012
    • 1

    How to automate SQL Jobs Status alerts?

    We have a lot of scheduled jobs in sql server and we want to find a solution in any language that will give alerts about the jobs status automatically through mails or through any other way if the job is not succefully executed like if the job get failed or
    if the job is taking more time.
    What approach should we can follow?
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    By jobs I assume you have integration services. You can turn on logging for those jobs. You can have it insert log records into a table. You can then create a job that will read that table and send out the appropriate e-mails and have it run on a loop.

    Comment

    • PsychoCoder
      Recognized Expert Contributor
      • Jul 2010
      • 465

      #3
      You can send email directly from SQL using CDONTS. Microsoft has a good writeup on accomplishing this here

      Comment

      Working...