|
|
Schedule Class |
The Schedule type exposes the following members.
| Name | Description | |
|---|---|---|
| Schedule | Initializes a new instance of the Schedule class. | |
| Schedule(String) | Initializes a new instance of the Schedule class. | |
| Schedule(String, String) | Initializes a new instance of the Schedule class. | |
| Schedule(String, String, String) | Initializes a new instance of the Schedule class. | |
| Schedule(String, String, String, Boolean) | Initializes a new instance of the Schedule class. |
| Name | Description | |
|---|---|---|
| DayPart | Gets the SchedulePart of the Schedule that represents day of month DateTimePart. | |
| DaysOfWeekPart | Gets the SchedulePart of the Schedule that represents day of week DateTimePart. | |
| Description | Gets or sets a description of the Schedule. | |
| HourPart | Gets the SchedulePart of the Schedule that represents hour DateTimePart. | |
| LastDueAt | Gets the DateTime when the Schedule was last due. | |
| MinutePart | Gets the SchedulePart of the Schedule that represents minute DateTimePart. | |
| MonthPart | Gets the SchedulePart of the Schedule that represents month DateTimePart. | |
| Name | Gets or sets the name of the Schedule. | |
| Rule | Gets or sets the rule of the Schedule defined in UNIX crontab syntax. | |
| Status | Gets the current status of the Schedule. | |
| UseLocalTime | Gets or sets a flag that determines whether the scheduler uses local time or UTC time for scheduling. |
| Name | Description | |
|---|---|---|
| Equals |
Determines whether the specified Schedule is equal to the current Schedule.
(Overrides ObjectEquals(Object)) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode |
Gets a hash code for the Schedule.
(Overrides ObjectGetHashCode) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| IsDue | Checks whether the Schedule is due at the present system time. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| NextTimeDue | Determines the nearest timestamp past the given timestamp that matches the schedule. | |
| PreviousTimeDue | Determines the nearest timestamp older than the given timestamp that matches the schedule. | |
| ToString |
Gets the string representation of Schedule.
(Overrides ObjectToString) |
| Name | Description | |
|---|---|---|
| GetEnumValueOrDefault |
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) | |
| GetEnumValueOrDefaultT |
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |
Operators:
There are several ways of specifying multiple date/time values in a field:
Fields:
+---------------- minute (0 - 59) | +------------- hour (0 - 23) | | +---------- day of month (1 - 31) | | | +------- month (1 - 12) | | | | +---- day of week (0 - 7) (Sunday=0 or 7) | | | | | * * * * *
Each of the patterns from the first five fields may be either * (an asterisk), which matches all legal values, or a list of elements separated by commas.
See http://en.wikipedia.org/wiki/Cron for more information.