Changeset 2330


Ignore:
Timestamp:
10/29/2011 2:20:56 PM (3 years ago)
Author:
lowjoel
Message:

Reschedule the task for execution, in addition to just computing the next run time. Fixes #387.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser/Eraser.Manager/DirectExecutor.cs

    r2133 r2330  
    321321                //If the task is a recurring task, reschedule it since we are done. 
    322322                if (task.Schedule is RecurringSchedule) 
     323                { 
    323324                    ((RecurringSchedule)task.Schedule).Reschedule(DateTime.Now); 
     325                    ScheduleTask(task); 
     326                } 
    324327 
    325328                //And the task finished event. 
Note: See TracChangeset for help on using the changeset viewer.