...
<day day="1 2 3 4 5 6 7 8 9 10 11 12 13 14 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31">
<period single_start="13:00"/>
</day>
</monthdays>
</run_time>
</source>
}}_
</span>
<span ih1. "holyday">
h2. stop a job for a not predefined period
<span style"color:#A52A2A">
_How can I stop a job for a specific period which is not defined previously?
_
Example: my job is a daily job. But tomorrow on e.g. 2013-05-01 I have a maintenance on the machine. So I would like to stop one chain or all the chain.''
</span>
To prevent the execution of a job at a specific (not predefined) day you can define a holidays file and include
(./config/live/holiday.xml)
Code Block |
---|
<holidays>
<holiday date="2013-05-01"/>
</holidays>
|
and include it into your job(s) with
{{
<source>
<holidays>
<include live_file="/holiday.xml"/>
</holidays>
</source>
}}
or you configure the holidays directly in the run_time
If it is necessary to define a day for maintenance you have to put it into holiday.xml and it would take effect for all jobs using this file via live_file="/holiday.xml" (caution: you have to restart the scheduler if you have changed holiday.xml).
</span>