6

I would like to know what happens if an agent job (with recurring interval) in MS SQL server runs long enough so that it overlaps recurring execution.

According to my tests, paralleled execution does not happen, which is good.

What I'm trying t find out is that will the next execution be ignored because the previous one is not finished yet, OR will it be queued?

By "queued" I mean executing the queued requests immediately after the previous completed discarding the schedule.

Thank you

4

1 回答 1

6

它不会排队,它会被跳过。易于测试:使用WAITFOR DELAY '00:05:00';, 从现在开始安排 < 2 分钟的作业,然后手动启动作业。它将运行 5 分钟,一次。

于 2011-09-19T22:07:15.130 回答