大家好,
我有一个运行手册要启动,但运行(分区过程)需要 3 个多小时,因此它在完成之前就停止了。我想知道是否有办法超过3小时的限制。我听说过混合运行手册,但我不确定它如何解决我的问题。您知道是否还有其他解决方案?
非常感谢。
最佳答案
如果您想坚持使用 Azure 自动化,可以使用检查点:
Azure Automation has a feature called “fairshare”, where any runbook that runs for 3 hours is unloaded to allow other runbooks to run. Eventually, the unloaded runbook will be reloaded, and when it is it will resume execution from the last checkpoint taken in the runbook. Thus, in order to guarantee that the runbook will eventually complete, you must add checkpoints at intervals that run for less than 3 hours.
这是一个example :
关于azure - 超时超过 3 小时 Automation Runbook Azure,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51264868/