This commit is contained in:
不做码农
2021-12-14 21:52:03 +08:00
parent 487c7f31ff
commit f7edb87207
2 changed files with 4 additions and 11 deletions
+4 -4
View File
@@ -1,8 +1,8 @@
如果你只是将quartz.net发布到IIS,IIS应用池回收后就不能执行任务了,那么可以使用此windows服务器定时调用quartz.net站点
如果你只是将本项目发布到IIS,IIS应用池回收后就不能执行任务了,那么可以使用此windows服务器定时调用本项目的站点
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
1、修改App.config中的url属性value值为你当前部署的quertz.net的站点+/Common/Health
2、用记事本打开Install.bat文件修改 项目发布后的目录\bin\Debug\Quartz.NET.WindowsService.exe
改为:(这里填写你项目所在路径)\Quartz.NET.WindowsService\bin\Debug\Quartz.NET.WindowsService.exe
3、编译项目
4、点击Install.bat安装windows服务