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: 8.2.23
Syntax
C#
public class SchedulingTimer

The SchedulingTimer type exposes the following members.

Constructors
  NameDescription
Public methodSchedulingTimer
Creates thread which calls SchedulerExecutor periodicaly.
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
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
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
See Also