哪里是Quartz.NET配置文件的文档? [英] Where is the documentation for Quartz.NET configuration files?
问题描述
我无法在语法Quartz.NET配置文件的任何地方找到文档。我想了解
I can't find documentation anywhere on the syntax for Quartz.NET configuration files. I'd like to learn about
-
配置服务本身
Configuring the service itself
通过XML插件调度配置工作。
Configuring jobs via the XML scheduler plugin.
我见过很多例子,但我我想找一个明确的语法文件,显示我所有的我的选择。
I've seen plenty of examples, but I'm looking for a definitive syntax document that shows me all of my options.
推荐答案
我有一个时间赫克发现信息上的配置格式为好。原来, Quartz.Net源包含一个很好的样本 App.config中文件中的 SRC / Quartz.Examples 。它看起来像下面的代码片段,但我忽略了 Common.Logging 配置,详细解释(举个例子)在 Common.Logging文档。
I was having a heck of a time finding info on the config format as well. Turns out the Quartz.Net source contains a nice sample App.config file in src/Quartz.Examples. It looks like the snippet below, except that I've omitted the Common.Logging configuration, which is explained in detail (with an example) in the Common.Logging documentation.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="quartz" type="System.Configuration.NameValueSectionHandler, System, Version=1.0.5000.0,Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</configSections>
<quartz>
<add key="quartz.scheduler.instanceName" value="ExampleDefaultQuartzScheduler" />
<add key="quartz.threadPool.type" value="Quartz.Simpl.SimpleThreadPool, Quartz" />
<add key="quartz.threadPool.threadCount" value="10" />
<add key="quartz.threadPool.threadPriority" value="2" />
<add key="quartz.jobStore.misfireThreshold" value="60000" />
<add key="quartz.jobStore.type" value="Quartz.Simpl.RAMJobStore, Quartz" />
</quartz>
</configuration>
j之后的的是如何Quartz.Net配置工作?,我希望找到一个最好的地方可能属性的完整名单石英文档安德烈亚斯联系在一起,尽管它可能只能被用作引导看Quartz.Net的潜力,而不是真正的文件本身,因为有至少一对的差别。
J has a discussion of other configuration options in How Does Quartz.Net Configuration Work?, and I expect the best place to find a "complete" list of possible properties is the Java Quartz documentation that Andreas linked, though it should probably only be used as a guide to see Quartz.Net's potential rather than true documentation per se since there are at least a couple differences.
这篇关于哪里是Quartz.NET配置文件的文档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!