| SchedulingTimer Class |
Namespace: CMS.Scheduler
public class SchedulingTimer
The SchedulingTimer type exposes the following members.
| Name | Description | |
|---|---|---|
| SchedulingTimer |
Creates thread which calls SchedulerExecutor periodically.
|
| Name | Description | |
|---|---|---|
| mCancel |
If true, the timer cancels execution.
| |
| mRunning |
If true, the timer is running.
|
| Name | Description | |
|---|---|---|
| LastRuns |
Last timer run.
| |
| RunSchedulerImmediately |
If true, the scheduler runs immediately after the request finishes.
| |
| SchedulerRunImmediatelySiteName |
Gets or sets the site name which should be used for immediate run
| |
| ScheduleURL |
Schedule URL.
|
| Name | Description | |
|---|---|---|
| CreateTimer |
Creates a timer for specified site name.
| |
| EnsureTimer |
Ensures the scheduling timer.
| |
| Execute |
Downloads scheduler.ashx once.
| |
| ExecuteAsync |
Executes the request in an asynchronous thread.
| |
| RequestRun |
Requests scheduler run for specified site name, updates the Last runs HashTable and returns true if the scheduler run is allowed.
| |
| RestartTimer |
Restarts the given site timer.
| |
| Run |
Downloads scheduler.ashx in neverending loop.
| |
| RunSchedulerASAP |
Initializes the site scheduler to run ASAP.
| |
| RunTimerAsync |
Runs the timer in an asynchronous thread.
| |
| StopTimer |
Stops the specified timer.
| |
| StopTimers |
Stops all the timers.
| |
| TimerExists |
Returns true if specified site timer exists.
|