咱們能夠看到,配置文件中多了以下節點: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