Schedule Job to Run Multiple Times

Post any question you may have in regards to GoAnywhere Director and let our talented support staff and other users assist you.
2 posts Page 1 of 1

GA_Forum

Posts: 11
Joined: Mon Nov 10, 2014 3:05 pm

Post by GA_Forum » Mon Jan 19, 2015 11:34 am
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!

Support_Rick

Support Specialist
Posts: 590
Joined: Tue Jul 17, 2012 2:12 pm
Location: Phoenix, AZ

Post by Support_Rick » Mon Feb 02, 2015 9:30 am
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/>
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
2 posts Page 1 of 1