Scheduler Usage
http://scheduler-usage.com/

How do I schedule all workday except last workday of year
http://scheduler-usage.com/viewtopic.php?f=29&t=14965
Page 1 of 1

Author:  aronfire [ 04 Jan 2018 12:04 ]
Post subject:  How do I schedule all workday except last workday of year

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:

Author:  fyot [ 05 Jan 2018 10:16 ]
Post subject:  Re: How do I schedule all workday except last workday of year

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

Author:  aronfire [ 05 Jan 2018 7:47 ]
Post subject:  Re: How do I schedule all workday except last workday of year

Hello Fyot,
I don't see the exclude option.

Attachments:
File comment: jobOutput
Captura.JPG
Captura.JPG [ 76.95 KiB | Viewed 14496 times ]

Author:  Guilherme_HFA [ 19 Jan 2018 2:11 ]
Post subject:  Re: How do I schedule all workday except last workday of year

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.

Author:  aronfire [ 25 Jan 2018 5:30 ]
Post subject:  Re: How do I schedule all workday except last workday of year

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.


Attachments:
tab_schedulling.JPG
tab_schedulling.JPG [ 77.19 KiB | Viewed 10640 times ]

Author:  fyot [ 08 Feb 2018 12:25 ]
Post subject:  Re: How do I schedule all workday except last workday of year

Hi

Strange
RuleBased appeared with version 7
So verify your FixPack version

Author:  aronfire [ 15 Feb 2018 1:29 ]
Post subject:  Re: How do I schedule all workday except last workday of year

fyot wrote:
Hi

Strange
RuleBased appeared with version 7
So verify your FixPack version


Thanks I will check that.

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/