简体   繁体   中英

What happens when an Azure Scheduled WebJob throws an unhandled exception?

My case is that the job will run for about twelve hours every 60 seconds and then it will just stop and I have to manually start it again. My web job is just a plain CLI that is not using the SDK. It seems as if my web job is being disabled if I have an unhandled exception and then I have to manually start it again. Is this a correct behavior?

As we found in the comments, the root issue was that the Web App did not have the Always On option enabled. After enabling it, the issue went away.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM