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

Compare with Current View Page History

« Previous Version 64 Next »

General

JobScheduler Order and Schedule's contain the "Time Element" of the scheduling. There could be two usecases

1. Predefined Days i.e. Non Working days or Holidays

To suppress execution on predefined non-working-days or Holidays , user can create Holiday Calender for all Jobs in JobScheduler or for individual process i.e. orders/jobs , include the same in respecticve Orders/Schedules.

2. Adhoc days processing should be suppressed

In some Adhoc usecases, predefined Order/Schedule's has to be suppressed or should not execute and should resume its normal execution once "suppressed" time is passed.

There are two approaches to achieve this

JOE :Add Non Working Days to Order "Persistent Change"

IMP : Changes done using JOE are persistent changes and will remain in effect even after JobScheduler restart

1. Original Order without "holiday/Non working days" will run every day at 08:00 AM

2. Open JOE and add Non Working days/dates into order

3. Check run time and make sure "suppress execution" is selected

!Jade-non-working-days-joe-.pngX!

4. Save order IMP: Default option for Holidays "suppress execution" will not appear in XML file
<?xml version="1.0" encoding="ISO-8859-1"?>
<order  job_chain="execute_pf" id="daily">
    <run_time  let_run="no">
        <period  single_start="08:00"/>
        <holidays >
            <holiday  date="2014-05-17"/>
            <holiday  date="2014-05-18"/>
        </holidays>
    </run_time>
</order>

4. Deploy the updated order in JobScheduler's live folder


JOC :Add holidays to Order "Non Persistent Change"

IMP : Any change into order from JOC is non persistent and will be lost after JobScheduler restart

1. Right Click on order menu, set run time

2. Click on Run time editor

3. Click on Holidays

4. Add required dates execution should be suppressed in to Order

5. Check "supress execution" is selected

!Joc-order-set-runtime-run-time-editor-holidays-select-dates.pngX!

6. Save order , now Order XML should also have holidays element

7. Check start time using option show start time

Quetsions

If I enter 'Non Working Days' values, do I need to change 'When Holiday' in my 'Run Time' entry from 'ignore_holiday' to 'suppress execution'?

I have not defined any global holidays, but are any pre-defined, and would they cause this order to also be suppressed on those days?

  • No labels