dbTalk Databases Forums  

DTS executing single scheduled task multiple times on same day

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


Discuss DTS executing single scheduled task multiple times on same day in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dermot Grady
 
Posts: n/a

Default DTS executing single scheduled task multiple times on same day - 11-22-2004 , 10:06 AM






I have a DTS job that is scheduled to run once a day at 5PM. The job
invokes a couple of batch files which in turn execute a java application
and periodically I am seeing from the logs that the job appears to be
executed multiple times on the same day -- usually within a couples of
seconds (or less) of each other and always on or around the 5PM
scheduled time (i.e., 5:00:00PM, then between 5:00:01PM and 5:00:04 PM).
I imnitially though that it may have been a bug in the java process
but after placing detailed messages in the top level batch file, it can
be clearly seen that the batch files is invoked more than once.

Has anyone seen/ experienced similar behaviour or can anyone suggest a
method of looking into the DTS system to see what might cause this
behaviour.

-dermot grady

Reply With Quote
  #2  
Old   
Rand Boyd [MSFT]
 
Posts: n/a

Default RE: DTS executing single scheduled task multiple times on same day - 11-23-2004 , 09:47 AM






This may be a stretch, but look at the jobs in SQL Server Agent in
Enterprise Manager and see if for some reason there are multiple entries
for this DTS package. The package itself would not do this, but the
sceduling of the job may be a problem.

Rsnd
This posting is provided "as is" with no warranties and confers no rights.


Reply With Quote
  #3  
Old   
Dermot Grady
 
Posts: n/a

Default Re: DTS executing single scheduled task multiple times on same day - 11-23-2004 , 10:24 AM



Rand Boyd [MSFT] wrote:
Quote:
This may be a stretch, but look at the jobs in SQL Server Agent in
Enterprise Manager and see if for some reason there are multiple entries
for this DTS package. The package itself would not do this, but the
sceduling of the job may be a problem.

Rsnd
This posting is provided "as is" with no warranties and confers no rights.

This may be the problem -- it looks as though multiple schedule entries
were created and I was able to clean it up through SQL-Server Agent.
Time will now tell.

thanks.

dermot


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.