澄清 Windows 服务恢复操作设置 [英] Clarification on Windows Service Recovery Actions Settings
问题描述
我正在查看恢复操作设置,有几件事需要澄清.
I am looking at the recovery actions settings and there are a couple of things that I need clarified.
如果我的重置失败计数为 0 天,并且我的操作如下:
If I have 0 days as my reset fail count after, and have the following as my actions:
- 重新启动服务 - 第一次失败时
- 重新启动服务 - 第二次失败
- 重新启动计算机 - 出现后续故障
失败计数是否会在服务成功重启后重置?
Does the fail count get reset on a successful restart of the service?
失败计数会在第一次失败时重置吗?因此永远没有机会执行第二个或第三个动作?
Does the fail count get reset on the first failure? Hence never having a chance to perform the second or third actions?
连续第三次失败时,计算机重新启动,服务启动,然后再次失败;这会重新启动计算机吗?
On the third successive failure, the computer gets rebooted, the service get started and then fails again; would this reboot the computer again?
提前致谢!
詹姆
推荐答案
将Reset fail count after:"设置为 0 表示每次失败后将失败计数重置为 0".这有效地禁用了第二次失败"和后续失败"操作,您将始终获得第一次失败"操作.
Setting "Reset fail count after:" to 0 means "reset the fail count to 0 after each failure". This effectively disables both the "second failure" and "subsequent failure" actions and you will always get the "first failure" action.
这篇关于澄清 Windows 服务恢复操作设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!