title: Managing configuration for Quartz.Net
body: <p>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.</p>
  
  <p>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.  </p>
  
  <p>[1]  Are there any best practices to managing the job and schedule configuration information in Quarts.Net?</p>
  
  <p>[2]  Is there any tooling for the creation of the configuration files?</p>
  
  <p>An example configuration for a job is:</p>
  
  <pre><code>&lt;job&gt;
    &lt;name&gt;addDirectoryScanListener&lt;/name&gt;
    &lt;group&gt;directoryScanJobExample&lt;/group&gt;
    &lt;description&gt;Sample job for Quartz Server&lt;/description&gt;
    &lt;job-type&gt;Examples.DirectoryScanListenerExample, Examples&lt;/job-type&gt;
  &lt;/job&gt;
  
  &lt;trigger&gt;
    &lt;simple&gt;
      &lt;name&gt;addDirectoryScanListenerSimpleTrigger&lt;/name&gt;
      &lt;group&gt;directoryScanJobExampleSimpleTriggerGroup&lt;/group&gt;
      &lt;description&gt;Simple trigger to simply fire sample job&lt;/description&gt;
      &lt;job-name&gt;addDirectoryScanListener&lt;/job-name&gt;
      &lt;job-group&gt;directoryScanJobExample&lt;/job-group&gt;
      &lt;misfire-instruction&gt;SmartPolicy&lt;/misfire-instruction&gt;
      &lt;repeat-count&gt;0&lt;/repeat-count&gt;
      &lt;repeat-interval&gt;10000&lt;/repeat-interval&gt;
    &lt;/simple&gt;
  &lt;/trigger&gt;
  </code></pre>