SchedulingHelper Class |
Namespace: CMS.Scheduler
public static class SchedulingHelper
The SchedulingHelper type exposes the following members.
Name | Description | |
---|---|---|
ApplicationInterval |
Gets application scheduler interval.
| |
DecodeInterval |
Decodes interval string from database.
| |
EncodeInterval |
Encodes interval for save it to database.
| |
GetNextTime |
Returns date and time when the next scheduling moment occurs based on the current date and time and the scheduling pattern string.
| |
LogTask |
Logs task.
| |
RunEndRequestScheduler |
Attempts to run the scheduler request based on scheduler configuration.
| |
RunSchedulerRequest |
Runs the request to the scheduler page.
| |
ShiftToAllowedDayNextMonth |
Finds allowed day in next month.
|
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.aspx page). The default settings is false (scheduler is executed by the activity of the requests).
| |
UseExternalService |
Indicates if the windows service should be used.
|