Quartz.Net uses XML files to configure the jobs that are to be run and the schedules for running those jobs. As far as I understand, the only other option to XML configuration is to configure the jobs and schedules at compile time.
We have a large number of scheduled tasks (250 tasks that are each deployed into between 3 to 5 environments) and are looking to migrate these to use Quartz.Net.
[1] Are there any best practices to managing the job and schedule configuration information in Quarts.Net?
[2] Is there any tooling for the creation of the configuration files?
An example configuration for a job is:
<job>
<name>addDirectoryScanListener</name>
<group>directoryScanJobExample</group>
<description>Sample job for Quartz Server</description>
<job-type>Examples.DirectoryScanListenerExample, Examples</job-type>
</job>
<trigger>
<simple>
<name>addDirectoryScanListenerSimpleTrigger</name>
<group>directoryScanJobExampleSimpleTriggerGroup</group>
<description>Simple trigger to simply fire sample job</description>
<job-name>addDirectoryScanListener</job-name>
<job-group>directoryScanJobExample</job-group>
<misfire-instruction>SmartPolicy</misfire-instruction>
<repeat-count>0</repeat-count>
<repeat-interval>10000</repeat-interval>
</simple>
</trigger>
There are couple of built-in ways to configure Quartz.NET, here's a small comparison.
Then again, you have job store options. You can use any job store regardless of the way you configure your scheduler/jobs/triggers.
There are also couple web based administration UI available, see Any open-source admin UI for quartz.NET for details.
The Quartz.NET tutorial is always a good place to start too.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With