Page 1 of 1

How do I schedule all workday except last workday of year

Posted: 04 Jan 2018 12:04
by aronfire
Could someone have an idea how to schedulle a Job all Workdays except last workdat of year?
My scenario is, I have a regular calendar with all workdays of the year. Currently my solution is defining that the job should "active" all year unless the last workday of the year but this manually every year. I want to avoid not update that specific job every year becauseI will have to change de the active parameter for the next year.
Someone have another idea to achieve it without the active parameter

Im working with control-m 7


Thanks in advance
Aaron :mrgreen:

Re: How do I schedule all workday except last workday of year

Posted: 05 Jan 2018 10:16
by fyot
Hi

Here is a solution.
Using RuleBased Calendar

1 - Creating two RB calendar
1 ALL_WDAYS: including all working days
2 LAST_DAYOFY : including only the last working day of december
All of them could use regular calendar to know working days.

How to configure LAST_DAYOFY ?
In Day of Month type L1 using Regular Calendar or not.
Select WeekDays and AND operator
and seclect only december.

2 - In the Job Scheduling
Select RB Calendars :
ALL_WDAYS in RB Calendar List
and
LAST_DAYOFY in Excluded RB Calendar List

Re: How do I schedule all workday except last workday of year

Posted: 05 Jan 2018 7:47
by aronfire
Hello Fyot,
I don't see the exclude option.

Re: How do I schedule all workday except last workday of year

Posted: 19 Jan 2018 2:11
by Guilherme_HFA
aronfire wrote:Hello Fyot,
I don't see the exclude option.
Scheduling tab > Select schedule and then "Using Specific Rule-Based Calendars"

In there it will give you two options:
Rule-Based Calendars List - Add your "All workdays" calendar in there.

Excluded Rule-Based Calendars List - Add your "Last workday of the year" Calendar in there.

Then just click on View Schedule and you'll see all work days are valid, except the last one.

Re: How do I schedule all workday except last workday of year

Posted: 25 Jan 2018 5:30
by aronfire
Hi Fyot,
But I dont have that option im working with version 7.

Guilherme_HFA wrote:
aronfire wrote:Hello Fyot,
I don't see the exclude option.
Scheduling tab > Select schedule and then "Using Specific Rule-Based Calendars"

In there it will give you two options:
Rule-Based Calendars List - Add your "All workdays" calendar in there.

Excluded Rule-Based Calendars List - Add your "Last workday of the year" Calendar in there.

Then just click on View Schedule and you'll see all work days are valid, except the last one.

Re: How do I schedule all workday except last workday of year

Posted: 08 Feb 2018 12:25
by fyot
Hi

Strange
RuleBased appeared with version 7
So verify your FixPack version

Re: How do I schedule all workday except last workday of year

Posted: 15 Feb 2018 1:29
by aronfire
fyot wrote:Hi

Strange
RuleBased appeared with version 7
So verify your FixPack version
Thanks I will check that.