简体   繁体   中英

Should we still allow Xml reading when we are using AdoJobStore

I have started to use ADOJobStore with Sql Server. I have been using RAMJObStore before so I was dealing with the quartz-jobs.xml file a lot. But now that I have switched, do I still need to to keep them on in my quartz.config ? What is the exact role of these Xml settings?

# 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. 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. The second one is the relative path to XML file where your jobs/triggers are located

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM