473,378 Members | 1,417 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

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?
May 17 '12 #1
2 1661
Rabbit
12,516 Expert Mod 8TB
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.
May 17 '12 #2
PsychoCoder
465 Expert Mod 256MB
You can send email directly from SQL using CDONTS. Microsoft has a good writeup on accomplishing this here
May 17 '12 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Dipak Patel | last post by:
Platform: Win2000 SP3, SQL 7.00 - 7.00.1063 I have a SQL-authenticated user with the following permissions: "Process Administrators" server role "db_owner" and "TargetServersRole" for msdb...
0
by: ryan baldwin | last post by:
Hi, I posted this in the GotDotNet .NET Alerts forum, but that was 3 days ago and still no reply so I'll try my luck here. My apologies if there's a better group to post this question in, but at...
2
by: Tim Groulx | last post by:
Hello, I am setting up log shipping between two SQL servers. Everything in the setup seems to work fine. The problem I am having is that the "Log Shipping Alert Job - Backup" job is failing,...
3
by: Alex Linthicum | last post by:
Hi, I've created two access Apps. App A calls App B to perform some lengthy and computational processes. Currently I'm using the acSysCmdSetStatus cmd to update the status of App B, and I'm...
2
by: ACFalcon | last post by:
I have .NET apps that use information that is in Microsoft SQL Server and is updated every night by SQL Server jobs. Is there a way to check the status of a SQL Server job in C# to make sure the...
5
by: Malik Asif Joyia | last post by:
Hello How we can send the email alerts automatically.. mean on a specific date and time. thanks
3
by: bharathreddy | last post by:
This article will explain you how to find the status of the fax operation. (Using FAXCOM.dll). Author: Bharath Reddy VasiReddy Reference to the FAXCOM.DLL Reference to import FAXCOM...
1
by: khaleelmansur | last post by:
Hi, I have two process one is SAS process and an ETL process.While running the SAS process the ETL process is onhold(OH).As soon as the process finishes the ETL process has to be started which is...
3
by: pyro169 | last post by:
Hey I am making a tic tac toe game, im new to javascript, and when i make the game with 'buttons' and 'x' and 'o' it works perfectly, but i also made some pics and i can get the pics to show up, but...
0
by: mariasoosai | last post by:
I have to send the jobs status that are started running from the previous day 9.00 a.m to today 9 a.m from the table sysjobhistory in sql server msdb database.But in that table , date and time are...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.