Will a SQL Server Job skip a scheduled run if it is already running?

前端 未结 3 1893
旧巷少年郎
旧巷少年郎 2020-12-08 12:48

If you schedule a SQL Server job to run every X number of minutes, and it does not finish the previous call before the # of minutes is up, will it skip the run since it is a

3条回答
  •  伪装坚强ぢ
    2020-12-08 13:27

    The SQL Server agent checks whether the job is already running before starting a new iteration. If you have long running job and its schedule comes up, it would be skipped until the next interval.

    You can try this for yourself. If you try to start a job that's already running, you will get an error to that effect.

提交回复
热议问题