It is currently 22 Oct 2017 9:28


Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Holiday scheduling
PostPosted: 13 Apr 2015 2:38 
Offline
Nouveau
Nouveau
User avatar

Joined: 10 Oct 2008 12:00
Posts: 15
Hello, can I please have some help with holiday calendar maintenance.

Newday=midnight
7.0.00

I have a calendar of workdays (which excludes weekends and holidays) and I need to schedule a job that only runs the days after a workday (ie Tue - Sat in a regular week or Wed - Sat if Mon was a bank holiday).

I could set up another calendar (workday+1) but I'm wondering if there is another way rather than maintaining yet another calendar.

Thanks
Kenton


Top
   
 Post subject: Re: Holiday scheduling
PostPosted: 19 Apr 2015 7:29 
Offline
Nouveau
Nouveau
User avatar

Joined: 05 Oct 2012 12:00
Posts: 16
Hi Kenton,

Unfortunately the best way to achieve this is the way which you want to avoid. :)

Create a new custom calendar based on the holidays in your country [also check for state holidays with business, sometimes it is a messy business].


Top
   
 Post subject: Re: Holiday scheduling
PostPosted: 01 May 2015 7:01 
Offline
Nouveau
Nouveau
User avatar

Joined: 07 Jan 2010 12:00
Posts: 149
Kenton,
Fortunately, there is a smart way to address your question.
Just define a ALL_DAYS calendar , which is not too difficult (maybe you have one already). This calendar should contain all days in the year.
In your job, just define your workday calendar in the Month Days calendar.
From that point on your job should be orderable every working day.

In the "Confcal" line, select ALL_DAYS as "Conf Cal", "No Confcal" as "Shift" and +1 as "by"
Dont forget to specify Months ALL, or else your job will not be ordered at all.
After this, your job will be orderable every day of the year following a working day, and will not be ordered every day following a day off (such as mondays, January 2nd, etc..)

As from V8, you should be able to define this rule as a standalone Rule Based Calendar, which you could in turn use in your job defs.

Cheers


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited
The site created by Franck YOT. Images, logo, content and trademarks about Control-M products are property of BMC Software.
All the comments are property of their posters. Images, logo, content and design are © copyright by Scheduler-Usage.com. All Rights Reserved