It is currently 22 Aug 2017 10:22


Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Month End job
PostPosted: 02 Sep 2015 5:20 
Offline
Nouveau
Nouveau
User avatar

Joined: 25 May 2009 12:00
Posts: 151
Location: Bangalore
Can you please advise if there is a functionality to run a Control M job only on month end -1 ( Business day) each month.
For example the Job has to be scheduled to run on August 28th, then September 29th and so on.


Top
   
 Post subject: Re: Month End job
PostPosted: 08 Sep 2015 12:41 
Offline
Nouveau
Nouveau
User avatar

Joined: 18 May 2012 12:00
Posts: 4
Hello,

Really, the easiest way is to create a regular calendar and mark exactly the days you want your job to run.

If you still want the hardest way ;)

Use 2 calendars, the first one should be a regular calendar and the second one a rule calendar:

Image

Create a regular calendar (in this example the name is RegularWD) where you will mark the workdays on your company. In this example all days from Monday to Friday are work days (you should mark the bank holidays on your country/company).

Image

Now create a second calendar, this time a rule based calendar (in this example the name is MonthEnd_WD-1).
1.- In Schedule select Based on Calendar
2.- Select Relative Calendar Days from Start/End of Month/Period
3.- In Calendar select the regular calendar that we have created (RegularWD)
4.- In section Calendar days counting from end of the month select -2, yes it is -2 and not -1, -1 is for the last day of the month.

Image

Now check you calendar using View Schedule and you should see this:

Image

Now you can create your job and assign the rule based calendar MonthEnd_WD-1 to it:

Image


Note: Instead of the second rule based calendar, you could define that rule directly in the job. In case you have several jobs with the same scheduling criteria it is better to have the rule based calendar.

I hope this helps.

Cheers,
sahsanu


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 3 guests


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