SQL Server 代理停止时计划的作业会发生什么情况?
在我们的 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
他们被忽视了。
如果您想在此处执行一些自定义逻辑(例如检查丢失的运行),您可以设置一个在 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)