Method | Description | |
---|---|---|
AddScheduledTask ( DNTScheduler.ScheduledTaskTemplate scheduledTask ) : void |
Adds a new scheduled task.
|
|
AddScheduledTasks ( ) : void |
Adds new scheduled tasks.
|
|
Dispose ( ) : void |
Stops the scheduler.
|
|
RemoveTask ( string taskName ) : void |
Removes a task from the list.
|
|
Start ( ) : void |
Starts TimerCallback.
|
|
Stop ( ) : void |
Stops the scheduler.
|
|
Stop ( bool immediate ) : void |
Call if the app is shutting down. Should only be called by the ASP.Net container.
|
Method | Description | |
---|---|---|
ScheduledTasksCoordinator ( ) : System |
Scheduled Tasks Manager
|
|
taskAction ( IEnumerable |
public AddScheduledTask ( DNTScheduler.ScheduledTaskTemplate scheduledTask ) : void | ||
scheduledTask | DNTScheduler.ScheduledTaskTemplate | new task |
return | void |
public RemoveTask ( string taskName ) : void | ||
taskName | string | name of the task to remove |
return | void |
public Stop ( bool immediate ) : void | ||
immediate | bool | ASP.Net sets this to false first, then to true the second /// call 30 seconds later. |
return | void |