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.