简体   繁体   English

使用AdoJobStore时是否仍应允许Xml阅读

[英]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.

相关问题 使用Razor时,我们仍然需要禁用请求验证吗? - Do we still need to disable request validation when using Razor? 我们什么时候应该使用公共的,什么时候使用私有的? - When should we use public and when private? 我们还应该使用服务器端网格还是Javascript网格? - Should we still use a server side grid or a Javascript grid? 如果使用的是Factory Pattern,我们应该向用户隐藏产品吗? - If we are using Factory Pattern should we hide products from user? 一旦我们完成使用它,我们应该关闭HttpPostedFile.Inputstream吗? - Should we close HttpPostedFile.Inputstream, once we are done using it? 洋葱架构:我们应该在域实体中允许数据注释吗? - Onion Architecture: Should we allow data annotations in our domain entities? 如果我们想利用依赖注入,我们还应该创建实例吗? - Should we still create instances if we want to take advantage of dependency injection? 什么时候,如果有的话,我们应该使用 const 吗? - When, if ever, should we use const? 我们什么时候应该捕获DUMP文件进行调试 - When should we capture the DUMP file for debugging 什么时候应该在C#中使用事件 - When should we use event in C#
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM