Page 1 of 1

Schedule Job to Run Multiple Times

Posted: Mon Jan 19, 2015 11:34 am
by GA_Forum
I need to schedule a job to run daily at 8am, 11am, 2pm, 4pm and 6pm. Is it possible to create one scheduled job that will accomplish this? I realize that I could create a schedule and include the start time (8am in this case) and then use the advanced options "Repeat Always" (along with the "Repeat for" and "With a delay of" options), but if I do that then I will not really be able to set up the schedule to run at the exact times I need them to. I'd like to avoid having to create two sepearte schedules (one to run the project at 8am, 11am and 2pm and then another to run it at 4pm and 6pm) as that creates possible maintenance issues.

Thank you for any help you can provide!

Re: Schedule Job to Run Multiple Times

Posted: Mon Feb 02, 2015 9:30 am
by Support_Rick
Performing this task with a single scheduled job isn't a normal setup. But, one option you could look into would be having the Scheduled Job run every hour from 8:00am - 7:00pm, but have a condition inside your Project that only allows execution if it's in the list of valid hours.

ThisHour = ${CurrentTime('HH')}
If ${ ( ThisHour <> '08' ) and
( ThisHour <> '11' ) and
( ThisHour <> '14' ) and
( ThisHour <> '16' ) and
( ThisHour <> '18' ) }
<exitModule/>