using quartz.net on windows azure

让人想犯罪 __ 提交于 2020-01-04 05:16:07

问题


I am using quartz.net in my asp.net app and the quartz scheduler works when I am running on my localhost but when I publish the site to windows azure it no longer works. Any help would be much appreciated.


回答1:


The problem wasn't that it wasn't running on the azure site. The problem was that azure was using UTC and my localhost was using local time. Since I was using a cron schedule and local time I wasn't seeing the scheduler fire. It is possible to run a quartz.net scheduler on azure without using web role/worker roles. This can all be done within the hosting website.




回答2:


The quartz.net is running in a shared application pool and in azure you dont have enough permission to do that, if you dont buy a Windows Server on Azure and use that server as your webserver.



来源:https://stackoverflow.com/questions/18057925/using-quartz-net-on-windows-azure

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