SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
All Day but just weekdays

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
All Day but just weekdays
Author Message
mpenda



Joined: 30 Aug 2011
Posts: 4
Country: United States

Post All Day but just weekdays Reply with quote
Hello.
I would like to schedule a job to run every 10 minutes, between 6am and 4pm, every Monday thru Friday.
The only way I can see to accomplish this is to enter 66 different times in the "Daily or Weekly" schedule.
The "All Day" option doesn't cover this either.
This is done so easily in CRON, I must be missing something!!

Thanks!
Tue Aug 30, 2011 3:19 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6515

Post Reply with quote
I would recommend using daily schedule, set the job to run with 10 minutes interval, and choose 6am and 4pm daily start and end times. Now here is the interesting part. Create new exclusive calendar in 24x7 that excludes all Saturdays and Sundays. Assign the job to that calendar. That's how you can limit the job to weekdays only.

Tip: you can easily generate "exclusive" calendar days in Excel and save them to a tab separated file, then import them into the new calendar in 24x7. This way you avoid keying all days by hand
Tue Aug 30, 2011 5:06 pm View user's profile Send private message
mpenda



Joined: 30 Aug 2011
Posts: 4
Country: United States

Post Reply with quote
Ok, I follow you, I can do that.
One more question. Let's say I set the start day and time as tomorrow at 6am. I set the end time as 4pm. Should I leave the end date as tomorrow?? Will it still run everyday from here on out (as far as I go out with the calendar at least)?
I'm guessing if I specify a date later than the start date, it will run round the clock....
Many thanks!!
Wed Aug 31, 2011 10:13 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6515

Post Reply with quote
I think you are using wrong properties to set start/end times. There is "Advanced..." button on the same line as "Repeat every"property. Please use that button.
Wed Aug 31, 2011 1:03 pm View user's profile Send private message
mpenda



Joined: 30 Aug 2011
Posts: 4
Country: United States

Post Reply with quote
I went into Excel and created a few years worth of dates for the calendar. It will not import it, says it has no dates or invalid format.
Original file was like this:
09/01/11
09/02/11
so I changed it to
09/01/2011
09/02/2011
and also tried
09/01/2011 <tab> Thursday
09/02/2011 <tab> Friday

Can you spot my error?
Fri Sep 02, 2011 8:48 am View user's profile Send private message
barefootguru



Joined: 10 Aug 2007
Posts: 195

Post Reply with quote
Here's an extract of a calendar I created to run jobs on the first working day of a week:
Code:

 3-Oct-2011 00:00:00   Monday
10-Oct-2011 00:00:00   Monday
17-Oct-2011 00:00:00   Monday
25-Oct-2011 00:00:00   Workday after Labour Day
31-Oct-2011 00:00:00   Monday
 7-Nov-2011 00:00:00   Monday
14-Nov-2011 00:00:00   Monday
21-Nov-2011 00:00:00   Monday
28-Nov-2011 00:00:00   Monday
 5-Dec-2011 00:00:00   Monday
12-Dec-2011 00:00:00   Monday
19-Dec-2011 00:00:00   Monday
28-Dec-2011 00:00:00   Workday after Christmas Day Observed

Note there's a space before some of the day numbers, and a tab between the date and description.
Sun Sep 04, 2011 5:15 pm View user's profile Send private message
mpenda



Joined: 30 Aug 2011
Posts: 4
Country: United States

Post Reply with quote
Perfect!!
That does it......a simple format change and I'm good.
Thanks so much for the reply!!
Tue Sep 06, 2011 8:54 am 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.