cancel
Showing results for 
Search instead for 
Did you mean: 

Running task twice a day

jonathan_mak
Level 3
Hi all, I want to create a simple task which will pretty much perform the same process, but I want it to run twice a day (once in morning and once End of day). Seeing that the Scheduler only allows you to schedule a task daily (1 per day), what approach is best practice? Create a single task which handles 2 time inputs and creates 2 item queues that defers the time, or simply create 2 schedules? Kind regards, Jonathan
3 REPLIES 3

Denis__Dennehy
Level 15
Hello Jonathan, I think creating 2 schedules sounds like the best options, because you will be able to utilise the resorucepc with another task between the two runs. If you have a single session running all day it might be idle for sometime.

John__Carter
Staff
Staff
2 schedules is the easiest option. Another could be to select the Hourly option and configure 'run every 8 hours between 0900 and 1800'. I think that would run the process at 0900 and again at 1700. To keep it to Monday-Friday you could use a calendar or even hardcode a 'is it Sat or Sun?' decision in the process to make it stop early on a weekend.

AndreasDevlin
Level 2
I got the same Challenge: My process is suppose to run @07:00 and again @16:00 I tried to set it Hourly every 9 hours between 07:00 and 17:00. The schedule counted every 9 hour resulting the process to run offset each day  This works: Run At: 0700. Every 8 hours, between 0000-1700. Result: Runs 0700 and 1500 every day This works: Run At: 0800. Every 8 hours, between 0000-1700. Result: Runs 0800 and 1600 every day This does not work: Run At: 0700. Every 9 hours, between 0000-1700. Result: day1 0700 and 1600; day2 0100 and 1000; day3 0400 and 1300 ... It looks like Every 8 hour is fine, but every 9 hour is not. Why is this? Is it ""Working hours""?