It is currently 24 Apr 2018 5:09


Post new topic  Reply to topic  [ 8 posts ] 
Author Message
PostPosted: 08 May 2012 10:35 
Offline
Nouveau
Nouveau
User avatar

Joined: 24 Aug 2010 12:00
Posts: 4
I'm looking for a way to schedule a job to run the 1st day after the last working day of the month.
It would be easy if it were to run on the f1st working day but in this case if the last working day of the month is on Friday they want it scheduled on Saturday which isn't a working day.


Top
   
PostPosted: 10 May 2012 1:02 
Offline
Nouveau
Nouveau
User avatar

Joined: 11 Oct 2007 12:00
Posts: 161
Location: Melbourne
What if the last working day is a Monday? Do you still want to run it on the Tuesday?

Assuming you really want first day after last working day of month, here is the solution. I'll assume you already have a working day calendar. Create another calendar including all days. Let's call it ALLDAYS. Schedule the job on the last working day of the month, using L1 in monthdays with your working day calendar.
Then use confcal to shift the job one day along the ALLDAYS calendar. Use ALLDAYS as the confcal calendar. Since every day is included in this calendar it doesn't really matter what you put in the Shift box, as it gets ignored if the day is in the confcal calendar. But it will then shift the job by the days marked in the 'by' field. So in the 'by' box, just include 1.


Top
   
 Post subject:
PostPosted: 12 Jun 2012 5:05 
Offline
Nouveau
Nouveau
User avatar

Joined: 24 Aug 2010 12:00
Posts: 4
Thanks for the help with this, it worked like a charm!!


Top
   
PostPosted: 13 Sep 2012 5:23 
Offline
Nouveau
Nouveau
User avatar

Joined: 11 Oct 2011 12:00
Posts: 8
Location: Bangalore, India
Hi,

i want to run a job on WD 0 - last working day of the month.
WD1, WD2, - first and second working day of the month.

How can i achieve this.

We can use a calender, but how can we asure if for eg: 31 of a month is Wednesday the last working day but it came out to be a PUBLIC HOLIDAY. so it might have run on Tuesday..

similarly if the WD0 is on Monday and its a PHL then the job should run on Friday i.e. 28 of the month.

Please advise.

_________________
Thanks,
Naval


Top
   
PostPosted: 18 Sep 2012 10:12 
Offline
Nouveau
Nouveau
User avatar

Joined: 11 Oct 2011 12:00
Posts: 8
Location: Bangalore, India
Naval wrote:
Hi,

i want to run a job on WD 0 - last working day of the month.
WD1, WD2, - first and second working day of the month.

How can i achieve this.

We can use a calender, but how can we asure if for eg: 31 of a month is Wednesday the last working day but it came out to be a PUBLIC HOLIDAY. so it might have run on Tuesday..

similarly if the WD0 is on Monday and its a PHL then the job should run on Friday i.e. 28 of the month.

Please advise.


Can any one help me on this?

Thanks!!

_________________
Thanks,

Naval


Top
   
 Post subject:
PostPosted: 19 Sep 2012 12:40 
Offline
Nouveau
Nouveau
User avatar

Joined: 19 Sep 2012 12:00
Posts: 3
Under Month Days put in the name of the calendar the contains your workdays, in the line above the calendar name, put in D1, D2, L1.

D1 & D2 will load in on the first and second day of the calendar. L1 will load in the last day of the calendar.


Top
   
 Post subject:
PostPosted: 19 Sep 2012 12:46 
Offline
Nouveau
Nouveau
User avatar

Joined: 11 Oct 2011 12:00
Posts: 8
Location: Bangalore, India
MeN5Girls wrote:
Under Month Days put in the name of the calendar the contains your workdays, in the line above the calendar name, put in D1, D2, L1.

D1 & D2 will load in on the first and second day of the calendar. L1 will load in the last day of the calendar.



Thanks.

Just a query. i need to setup a calender for all the working days? excluding Weekend and Other OFF days.?

_________________
Thanks,

Naval


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 8 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:  
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