General
JobScheduler Order and Schedule's contain the "Time Element" of the scheduling. In some usecases where predefined Order/Schedule's has to be suppressed or should not execute,but resume there normal execution once "suppressed" time is passed.
There are two approaches to achieve this
JOE :Add holidays to Order
- Open JOE and add holiday into order
- Save order
- deploy the update order in JobScheduler's live folder
<?xml versioh1. "1.0" encoding"ISO-8859-1"?>
<order job_chaih1. "CheckRunHistory" id"1">
<run_time let_run="no"> <period single_start="08:00"/>
<holidays > <holiday date="2014-05-14"/>
<holiday date="2014-05-16"/> </holidays> </run_time>
</order>
JOC :Add holidays to Order
Any change into order from JOC is not persistent and will be lost after JobScheduler restart
- Click on order menu, set run time
- add holidays in to order
- save order
- check start time using option show start time
Job CheckRunHistiry
<?xml version="1.0" encoding="ISO-8859-1"?> <job title="Checks the last job run" order="yes" stop_on_error="no"> <settings > <mail_on_error ><![CDATA[yes]]></mail_on_error> <mail_on_warning ><![CDATA[yes]]></mail_on_warning> <log_level ><![CDATA[debug9]]></log_level> </settings> <params > <param name="JobName" value="Demo/MoneySuperMarket/Scenario03/JobA1"/> <param name="start_time" value="-1"/> <param name="message" value="The Job 1. \$\{JOB_NAME\} 2. [JOB_NAME] was not running successfully today until 15:00h "/> </params> <script language="java" java_class="sos.scheduler.CheckRunHistory.JobSchedulerCheckRunHistoryJSAdapterClass"/> <run_time /> </job>