Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / DB Engine / SQL Server / July 2008

Tip: Looking for answers? Try searching our database.

Can the same SQL job run concurrently?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ktrock - 11 Jul 2008 21:18 GMT
Hello. I have a SQL 2005 job that runs every 2 hours in the morning. If it
runs to completion at any time I set a flag to tell subsequent instances not
to run. Works fine. The job normally takes about 1 hour. So what if, for some
reason, the job is running longer than 2 hours and the next instance gets
queued to run? Will this same job try to run if an earlier instance is still
running?

I know the MS Scheduler won't but what about the SQL 2005 Agent? I suppose I
could just test this scenario but I'm sure someone up here knows.

Thanks,
Ken Trock
Denny Cherry - 11 Jul 2008 21:39 GMT
No, the job will not run again.  If a schedule is missed, it's simply
missed.  The response to a missed schedule is the same as the task
scheduler.

Denny

>Hello. I have a SQL 2005 job that runs every 2 hours in the morning. If it
>runs to completion at any time I set a flag to tell subsequent instances not
[quoted text clipped - 8 lines]
>Thanks,
>Ken Trock
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.