SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Scheduling Job to Run on Specific Days of Specific Months

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Scheduling Job to Run on Specific Days of Specific Months
Author Message
Joshua Youngblood



Joined: 14 Apr 2006
Posts: 82
Country: United States

Post Scheduling Job to Run on Specific Days of Specific Months Reply with quote
I have a job that needs to run on the first day of February and September. I have considered scheduling the job to run on the first of every month and just wrapping the script's code in a check of the month. Using the scheduler, is it possible to just schedule a job to only run on a specific day for specific months?
Wed Dec 02, 2009 12:56 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7952

Post Reply with quote
yes - it is possible in 24x7 MP Edition. no - it is not possible in Windows Edition. If you are using MP Edition, create a new "inclusive" calendar and select months and days that you want to use. If you are using Windows editor, please schedule it to run monthly and in the job code add a check for month number or name.
Wed Dec 02, 2009 3:04 pm View user's profile Send private message
Joshua Youngblood



Joined: 14 Apr 2006
Posts: 82
Country: United States

Post Reply with quote
I installed the MP version on my machine because we are considering switching to it. The use of calendars is a neat feature. I read the help documentation pages entitled "Calendar Properties Dialog" and "About calendar," but I didn't see anything specifying whether or not the selected dates will be repeated for every year. We would like the job to run every year on the 1st of February and 1st of September. Is there a way to set this without having to select 2/1/10, 9/1/10, 2/1/11, 9/1/11, etc...?
Tue Dec 08, 2009 12:03 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7952

Post Reply with quote
Hi.

For "inclusive" type calendars, you should key all dates in advance, in other words, define the date universe.

When choosing an inclusive calendar for a job, you typically should set the job to run every day, all days. Only the days in "inclusive" calendar are the days available to the job.
Tue Dec 08, 2009 4:42 pm View user's profile Send private message
barefootguru



Joined: 10 Aug 2007
Posts: 195

Post Reply with quote
Note you can import calendars from text files, so it's dead easy to programmatically generate a calendar for decades in advance and import it into 24x7.

Cheers
Tue Jan 05, 2010 4:17 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7952

Post Reply with quote
Thank you. Indeed one can use Excel or other similar tool to generate date series and save them into a tab-separated file, then import that file into 24x7.
Tue Jan 05, 2010 7:16 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
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 vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.