SchedulingHelper Class |
Namespace: CMS.Scheduler
public static class SchedulingHelper
The SchedulingHelper type exposes the following members.
Name | Description | |
---|---|---|
mLogFile |
Logs file path.
| |
MONTHS_FIRST |
First day of the month.
| |
MONTHS_FOURTH |
Fourth day of the month.
| |
MONTHS_LAST |
Last day of the month.
| |
MONTHS_SECOND |
Second day of the month.
| |
MONTHS_THIRD |
Third day of the month.
| |
PERIOD_DAY |
Day period.
| |
PERIOD_HOUR |
Hour period.
| |
PERIOD_MINUTE |
Minute period.
| |
PERIOD_MONTH |
Month period.
| |
PERIOD_ONCE |
Once period.
| |
PERIOD_SECOND |
Second period.
| |
PERIOD_WEEK |
Week period.
| |
PERIOD_YEAR |
Year period.
|
Name | Description | |
---|---|---|
EnableScheduler |
If true (default value), running of scheduler is enabled.
| |
LogFile |
Logs file.
| |
LogTasks |
If true, executed tasks are logged into file.
| |
RunSchedulerWithinRequest |
If true, the scheduler tasks are executed within the standard requests (at the end of requests). The default settings is true (scheduler is executed within the request).
| |
ServiceInterval |
Gets windows service interval (in seconds).
| |
UseAutomaticScheduler |
If true, the automatic version of scheduler is used (standalone thread and scheduler handler). The default settings is false (scheduler is executed by the activity of the requests).
| |
UseExternalService |
Indicates if the windows service should be used.
|
Name | Description | |
---|---|---|
ApplicationInterval |
Gets application scheduler interval.
| |
Clear |
Clears the enabled status of the scheduler so it can reload
| |
DecodeInterval |
Decodes interval string from database.
| |
EncodeInterval |
Encodes interval for save it to database.
| |
GetFirstRunTime |
Returns date and time when the very first scheduling moment occurs based on the current date and time and the scheduling pattern.
| |
GetNextTime |
Returns date and time when the next scheduling moment occurs based on the current date and time and the scheduling pattern.
| |
IsAnyTaskRunning |
Returns true if there are any currently running tasks.
| |
IsExternalTaskTooLate |
Returns true if externally handled task did not execute for more than certain amount of times.
| |
LogTask |
Logs task.
| |
RunEndRequestScheduler |
Attempts to run the scheduler request based on scheduler configuration.
| |
RunSchedulerRequest |
Runs the request to the scheduler page.
|