[英]Should we still allow Xml reading when we are using AdoJobStore
I have started to use ADOJobStore
with Sql Server. 我已经开始将
ADOJobStore
与Sql Server一起使用。 I have been using RAMJObStore
before so I was dealing with the quartz-jobs.xml
file a lot. 之前我一直在使用
RAMJObStore
,所以我RAMJObStore
处理quartz-jobs.xml
文件。 But now that I have switched, do I still need to to keep them on in my quartz.config
? 但是,既然我已经切换了,是否仍然需要将它们保留在我的
quartz.config
? What is the exact role of these Xml settings? 这些Xml设置的确切作用是什么?
# job initialization plugin handles our xml reading, without it defaults are used
quartz.plugin.xml.type = Quartz.Plugin.Xml.XMLSchedulingDataProcessorPlugin, Quartz
quartz.plugin.xml.fileNames = ~/quartz_jobs.xml
They are specific to RAMJobStore so you can safely take them out. 它们特定于RAMJobStore,因此您可以放心地将它们取出。 The first one points to the default plugin Quartz uses to add jobs and schedule them with triggers and can also scan the file for changes.
第一个指向Quartz用于添加作业并使用触发器计划它们的默认插件,还可以扫描文件进行更改。 The second one is the relative path to XML file where your jobs/triggers are located
第二个是作业/触发器所在的XML文件的相对路径
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.