Scheduler Interval

Brenden Kehren asked on January 21, 2015 14:29

Trying to get my scheduled tasks to run every day or every few hours at the same time. It seems no matter how I set the task or interval up, it never runs at the same time as I'd expect.

For instance I have a task setup where I'd expect it to run every 6 hours starting at 12:30 PM. The first time it runs, it runs at 12:30 and maybe runs for 10 minutes, the next time it runs at 6:40pm. How can I get it to not be a rolling 6 hours?

Recent Answers

Juraj Ondrus answered on January 22, 2015 09:53

Hi Brenden,

Right now, we do not know whether the task will end or how long it will take - so there could be conflicts if the task runs longer than the period set. Anyway, we are doing research on this topic so there could be some setting in the future version in which you wills ay that you are OK running the task again even if the previous execution did not finished yet.

right now, only creating a simple task, that runs only for a really short time, that will reset the time just before the main task execution.

Best regards,
Juraj Ondrus

0 votesVote for this answer Mark as a Correct answer

Petar Kozjak answered on January 22, 2015 11:41

Hi Brenden,

if you know your task will be finished in this 6 hours just setup 4 tasks with different time to start.

Maybe stupid but it should work... :)

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on January 22, 2015 15:04

Thanks Petar, although I don't believe that will work because the start time is only used 1 time. The task then runs again based on the last complete time and your scheduled interval. So I'd get 4 of the tasks to run as I'd expect but then if the task took 5 minutes to run, I'd be off 5 minutes on the next run.

Juraj, thanks for that. I look at it like the Scheduled Tasks in Windows, where you have an option to stop the task if it runs over a given period of time (minutes, hours, days, etc.) and would have a schedule you could set vs. a rolling interval.

2 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.