Exceed 3 hours timeout Automation Runbook Azure

浪子不回头ぞ 提交于 2019-12-06 13:28:19

If you want to stick to Azure Automation, you can use Checkpoints:

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.

Source.

Here is an example:

no. there are none, that is if you want Azure Automation. Your options are:

  1. Web Jobs
  2. Azure Functions (NOT consumption plan)
  3. Hybrid workers
  4. services\scripts\schedules on your own vms
  5. Azure Batch
  6. Possibly Azure Data Factory, depending on what you are doing

probably something else.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!