PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > ms.sqlserver.server > Can the same SQL job run concurrently?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Can the same SQL job run concurrently?

Réponse
 
LinkBack Outils de la discussion
Vieux 11/07/2008, 22h18   #1
ktrock
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Can the same SQL job run concurrently?

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
  Réponse avec citation
Vieux 11/07/2008, 22h39   #2
Denny Cherry
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Can the same SQL job run concurrently?

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

On Fri, 11 Jul 2008 13:18:16 -0700, ktrock
<ktrock@discussions.microsoft.com> wrote:

>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

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 04h35.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08731 seconds with 10 queries