Scheduler with day period changes its starting time

Jan Mudrák asked on March 10, 2014 02:42

Hi, when scheduled task is performed it can change its starting time (for example when it is started manually or when application pool starts). I don't want this to happen.

For example: I want my task to run every day at 23:00. When the time is missed, it should start as soon as possible, but starting time 23:00 must not be changed.

Is it such feature available?

Recent Answers


Juraj Ondrus answered on March 10, 2014 03:22

Hi,

The next run time is being set after the task is successfully finished. So, if the tasks takes 10 minutes to finish, the next run time will be 10 minutes later. Regrettably, right now it is not possible to determine whether the task will finish or not. There are already some attempts how to fix this in future versions. Right now, you can check it manually or, create another task that will be execute after your task and will re-set the next run time for this task.

Best regards,
Juraj Ondrus

0 votesVote for this answer Mark as a Correct answer

gitesh KudosWeb answered on March 10, 2014 16:38

Hi Jan,

We have got an exact similar issue. I have found a work around for this and it works perfectly for us.

We have a scheduled task which needs to run at 23:00 everyday.

1 . Select Period: Hour 2. Make it to run Every 1 hour 3. Make it Between 23:00 AND 23:59

This will make sure that it always start at 23:00 and as the end time is not more than 1 hour it will not start again.

I hope it works for you.

Cheers Gitesh Shah

1 votesVote for this answer Mark as a Correct answer

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