Page 1 of 1

Schedule D01 unless bankhol/sunday, then shift to next wd

Posted: 12 Jul 2012 4:11
by jerryhall
Hi,

I would like to schedule a job that runs on the first day of the month, unless this is a sunday or bank holiday, in which case shift to the next working day. Can I achieve this all in one schedule table?

I have a calendar defined where the bank hols are non working days.
I have one job defined with days=D01, dcal=* and wcal=*, with
wdays=-1, confcal=nobankh.

This works fine when D01 isn't a bank holiday or a sunday. but when D01 is a bank hol/sunday, the job doesn't get scheduled at all, even with various shift values.

I am thinking I need to code an extra definition to handle this - any ideas or help welcome...

Jerry

Posted: 16 Jul 2012 11:41
by Fauzi
Hi Jerry,

Can you try with create a calendar which is defined as all working day over the year. Then in scheduling tab just define Month Days =D1, Calendar=[Defined Calendar], choose 'or' relationship between Month Days and Week Days, add All months to scheduling criteria.

Fauzi