咱们能够看到,配置文件中多了以下节点:git
<crystalQuartz> <provider> <add property="Type" value="CrystalQuartz.Core.SchedulerProviders.RemoteSchedulerProvider, CrystalQuartz.Core" /> <!-- Edit scheduler host value below =================================== --> <add property="SchedulerHost" value="tcp://localhost:555/QuartzScheduler" /> <!-- =================================== --> </provider> </crystalQuartz>
handlers节点中多了以下配置:github
<add name="CrystalQuartzPanel" verb="*" path="CrystalQuartzPanel.axd" type="CrystalQuartz.Web.PagesHandler, CrystalQuartz.Web" />
能够看到,将CrystalQuartzPanel.axd的请求映射到了CrystalQuartz.Web.PagesHandler中web
实际上quartz.config中也有以下配置(去掉#注释):windows
# export this server to remoting context quartz.scheduler.exporter.type = Quartz.Simpl.RemotingSchedulerExporter, Quartz quartz.scheduler.exporter.port = 555 quartz.scheduler.exporter.bindName = QuartzScheduler quartz.scheduler.exporter.channelType = tcp quartz.scheduler.exporter.channelName = httpQuartz
这样两个程序就能够通讯了。浏览器
这个页面会将quartz_jobs.xml中的触发器都加载出来,能够从新暂停、删除、当即执行,还能够新建触发器,其它复杂功能尚未仔细研究tcp
CrystalQuartz GitHub 地址:https://github.com/guryanovev/CrystalQuartzide