Click or drag to resize
SchedulingHelper Class
Global class providing Scheduler methods.
Inheritance Hierarchy
SystemObject
  CMS.SchedulerSchedulingHelper

Namespace: CMS.Scheduler
Assembly: CMS.Scheduler (in CMS.Scheduler.dll) Version: 13.0.131
Syntax
C#
public static class SchedulingHelper

The SchedulingHelper type exposes the following members.

Fields
  NameDescription
Public fieldStatic membermLogFile
Logs file path.
Public fieldStatic memberMONTHS_FIRST
First day of the month.
Public fieldStatic memberMONTHS_FOURTH
Fourth day of the month.
Public fieldStatic memberMONTHS_LAST
Last day of the month.
Public fieldStatic memberMONTHS_SECOND
Second day of the month.
Public fieldStatic memberMONTHS_THIRD
Third day of the month.
Public fieldStatic memberPERIOD_DAY
Day period.
Public fieldStatic memberPERIOD_HOUR
Hour period.
Public fieldStatic memberPERIOD_MINUTE
Minute period.
Public fieldStatic memberPERIOD_MONTH
Month period.
Public fieldStatic memberPERIOD_ONCE
Once period.
Public fieldStatic memberPERIOD_SECOND
Second period.
Public fieldStatic memberPERIOD_SECOND_ALT
Second period alternative name.
Public fieldStatic memberPERIOD_WEEK
Week period.
Public fieldStatic memberPERIOD_YEAR
Year period.
Top
Properties
  NameDescription
Public propertyStatic memberEnableScheduler
If true (default value), running of scheduler is enabled.
Public propertyStatic memberServiceInterval
Gets windows service interval (in seconds).
Public propertyStatic memberUseAutomaticScheduler
If true, the automatic version of scheduler is used (standalone thread and scheduler handler). If false, the scheduler tasks are executed within the standard requests (at the end of requests). The default settings value is true.
Public propertyStatic memberUseExternalService
Indicates if the windows service should be used.
Top
Methods
  NameDescription
Public methodStatic memberApplicationInterval
Gets application scheduler interval.
Public methodStatic memberClear
Clears the enabled status of the scheduler so it can reload
Public methodStatic memberDecodeInterval
Decodes interval string from database.
Public methodStatic memberEnableSchedulerForApplication
Enables the scheduler feature for application.
Public methodStatic memberEncodeInterval
Encodes interval for save it to database.
Public methodStatic memberGetFirstRunTime
Returns date and time when the very first scheduling moment occurs based on the current date and time and the scheduling pattern.
Public methodStatic memberGetNextTime
Returns date and time when the next scheduling moment occurs based on the current date and time and the scheduling pattern.
Public methodStatic memberIsAnyTaskRunning
Returns true if there are any currently running tasks.
Public methodStatic memberIsExternalTaskTooLate
Returns true if externally handled task did not execute for more than certain amount of times.
Public methodStatic memberLogTask
Logs task.
Public methodStatic memberRunEndRequestScheduler
Attempts to run the scheduler request based on scheduler configuration.
Public methodStatic memberRunSchedulerRequest
Runs the request to the scheduler page.
Top
See Also