Click or drag to resize
SchedulingTimer Class
Class to provide timing for scheduler.
Inheritance Hierarchy
SystemObject
  CMS.SchedulerSchedulingTimer

Namespace: CMS.Scheduler
Assembly: CMS.Scheduler (in CMS.Scheduler.dll) Version: 9.0.0
Syntax
C#
public class SchedulingTimer

The SchedulingTimer type exposes the following members.

Constructors
  NameDescription
Public methodSchedulingTimer
Creates thread which calls SchedulerExecutor periodicaly.
Top
Fields
  NameDescription
Protected fieldmCancel
If true, the timer cancels execution.
Protected fieldmRunning
If true, the timer is running.
Top
Properties
  NameDescription
Public propertyStatic memberLastRuns
Last timer run.
Public propertyStatic memberRunSchedulerImmediately
If true, the scheduler runs immediately after the request finishes.
Public propertyStatic memberSchedulerRunImmediatelySiteName
Gets or sets the site name which should be used for immediate run
Public propertyScheduleURL
Schedule URL.
Top
Methods
  NameDescription
Public methodStatic memberCreateTimer
Creates a timer for specified site name.
Public methodStatic memberEnsureTimer
Ensures the scheduling timer.
Public methodExecute
Downloads scheduler.aspx once.
Public methodExecuteAsync
Executes the request in an asynchronous thread.
Public methodStatic memberRequestRun
Requests scheduler run for specified site name, updates the Last runs HashTable and returns true if the scheduler run is allowed.
Public methodStatic memberRestartTimer
Restarts the given site timer.
Public methodRun
Downloads scheduler.aspx in neverending loop.
Public methodStatic memberRunSchedulerASAP
Initializes the site scheduler to run ASAP.
Public methodRunTimerAsync
Runs the timer in an asynchronous thread.
Public methodStatic memberStopTimer
Stops the specified timer.
Public methodStatic memberStopTimers
Stops all the timers.
Public methodStatic memberTimerExists
Returns true if specified site timer exists.
Top
See Also