An incorrect value for Next Run Time is displayed when you specify multiple triggers to schedule a task in Windows Vista or in Windows Server 2008
Consider the following scenario:
- You have a computer that is running Windows Server 2008 or Windows Vista.
- You create a task and specify multiple triggers for the task in the Task Scheduler Microsoft Management Console (MMC) snap-in. The triggers cause the task to run according to a schedule.
In this scenario, the Next Run Time of the task always displays the time that is specified by the first trigger. However, the correct time should be the time that is the closest to the current time.
For example, you specify the following two triggers for a task:
- Trigger 1: Start the task at 1:00 A.M., and repeat the task every one hour for a duration of one day.
- Trigger 2: Start the task at 1:30 A.M., and repeat the task every one hour for a duration of one day.
If the current time is 1:20 A.M., the next run time should be 1:30 A.M. However, the next run time that is displayed in the Task Schedule is 2:00 A.M.
Note: Although the next run time that is displayed in the Task Schedule is incorrect, the triggers are fired correctly.
For more information on this issue, including potential causes, workarounds, and resolutions, see: Microsoft KB Article KB2495489.