即使启用了始终开启,连续Web作业也会停止 [英] Continuous Web Job stops even if Always On is enabled
本文介绍了即使启用了始终开启,连续Web作业也会停止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已在启用了Always On选项的标准服务计划上创建了一个Azure Web App.在这个应用程序上,我还没有发布任何网站.我只发布了一个连续Web作业.
I have created an Azure Web App on Standard Service Plan with Always On option enabled. On this App I haven't published any web site. I have only published a Continuous Web Job.
问题是,尽管我启用了Always On选项,但在Web作业日志中可以看到Web App停止了.
The problem is that although I have enabled the Always On option, I can see in the Web Job logs that the Web App stopped.
这是Web作业日志:
[09/29/2015 07:35:26 > 189701: SYS INFO] WebJob is still running
[09/29/2015 08:51:54 > 189701: SYS INFO] WebJob is stopping due to website shutting down
[09/29/2015 08:51:54 > 189701: SYS INFO] Status changed to Stopping
[09/29/2015 08:52:04 > 189701: SYS INFO] Status changed to Starting
[09/29/2015 08:52:25 > 189701: SYS INFO] Run script 'ExchangePullNotifications.exe' with script host - 'WindowsScriptHost'
[09/29/2015 08:52:25 > 189701: SYS INFO] Status changed to Running
推荐答案
问题似乎是我在应用程序中使用了Azure SDK,而WebApp环境中不支持该SDK.
The problem seems to be that I use the Azure SDK in my application which is not supported in the WebApp environment.
这篇关于即使启用了始终开启,连续Web作业也会停止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文