This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
如果你只是将quartz.net发布到IIS,IIS应用池回收后就不能执行任务了,那么可以使用此windows服务器定时调用quartz.net站点
1、修改App.config中的url属性value值为你当前部署的quertz.net的站点+/Health/index(注意:如果是编译后的项目,一定要修改bin/Debug/Quartz.NET.WindowsService.exe.config的配置url)
2、用记事本打开Install.bat文件修改E:\Quartz.NET\Quartz.NET.WindowsService\bin\Debug\Quartz.NET.WindowsService.exe
改为:(这里填写你项目所在路径)\Quartz.NET\Quartz.NET.WindowsService\bin\Debug\Quartz.NET.WindowsService.exe
3、编译项目
4、点击Install.bat安装windows服务
卸载服务:运行Uninstall.bat(运行前按上面一样将修改Quartz.NET.WindowsService.exe路径)