You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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

  1. Open JOE and add holiday into order
  2. Save order
  3. deploy the update order in JobScheduler's live folder

JOC :Add holidays to Order

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>


  • No labels