SQL Server 代理停止时计划的作业会发生什么情况?

发布于 2024-12-09 11:58:15 字数 172 浏览 6 评论 0原文

在我们的 SQL Server 上有一个每小时运行一次的 SQL 作业。在某个特定的时间里,SQL 作业似乎没有运行,这是因为 SQL Server 代理在备份期间停止了。

如果 SQL Server 代理已停止,则应在其停止期间运行的作业是否会被简单地忽略,或者稍后在 SQL Server 代理再次运行时运行?

On our SQL Server theres a SQL Job which is ran every hour. On one particular hour it doesn't seem like the SQL Job was ran, and that was due to the SQL Server Agent being stopped during a backup.

If SQL Server Agent has been stopped, are the jobs which are supposed to be ran during the time its stopped simply ignored, or ran later when SQL Server Agent is running again?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

最单纯的乌龟 2024-12-16 11:58:15

他们被忽视了。

如果您想在此处执行一些自定义逻辑(例如检查丢失的运行),您可以设置一个在 SQL Server 代理启动时自动启动的计划(并且您可以为一个作业分配多个计划)

They are ignored.

You can set up a schedule to start automatically when SQL Server Agent starts if you want to do some custom logic here such as checking for missing runs (and you can assign multiple schedules to a job)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文