dbTalk Databases Forums  

DTS Job Alerts

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss DTS Job Alerts in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tim Savery
 
Posts: n/a

Default DTS Job Alerts - 11-04-2003 , 08:19 AM






Is there a way to send an email alert based on the current
run time of a job? For example, I want to send an alert
if a certain DTS job runs for more than 2 minutes. Is
this possible? If so, can anyone tell me how to set this
up?

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: DTS Job Alerts - 11-04-2003 , 08:31 AM






Yes

Have a control table that accepts the Job Name, a StartTime and an end time.
You then have another job that executes every 1 minute that checks this
table for jobs that have a start time > 2 mins ago but no end time. This
then fires an Email



--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Tim Savery" <Tim.Savery (AT) mbna (DOT) com> wrote

Quote:
Is there a way to send an email alert based on the current
run time of a job? For example, I want to send an alert
if a certain DTS job runs for more than 2 minutes. Is
this possible? If so, can anyone tell me how to set this
up?



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.