Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Holidays can be configured at a global level for all jobs and per job. The resulting holiday dates of both configuration levels are applied. They Dates configured at both levels can be persistent - i.e. they are not lost on restart as they are part of the configuration file either saved in the scheduler.xml configuration file or the respective relevant run times that are can be configured in the editor web interface and stored in a database. Configuring holidays is supported by the graphical JobScheduler Object Editor, JOE. The configuration of holidays is described in detail in the articles:

The following examples illustrate how holidays can be configured at the XML level using a code editor.

  1. Holidays for all jobs
    Code Block
      <config>
          <holidays>
              <holiday date="2006-12-25"/>
              ...
              <holiday date="2006-12-26"/>
          </holidays>
          <jobs/>
          <job_chains/>
      </config>
  2. Holidays for a specific job
    <job>
    Code Block
     <job>
        <run_time let_run="no">
            <period single_start = "08:00"/>
            <holidays>
                <holiday date="2006-06-19"/>
                ...
                <holiday date="2006-07-19"/>
            </holidays>
        </run_time>
      </job>