Udostępnij za pośrednictwem


About Configuration Manager Schedules

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

In Microsoft System Center Configuration Manager 2007, scheduling information is configured by using schedule tokens. The SMS_ScheduleToken Windows Management Instrumentation (WMI) class is an abstract parent class for the SMS_ST_ schedule token classes that handle the scheduling of events with differing frequencies such as daily, weekly, and monthly.

The SMS_ScheduleMethods WMI class, and the corresponding ReadFromString and WriteToString methods are used to decode and encode schedule tokens into and from an interval string. The interval strings can be used to set schedule properties when defining or modifying objects.

Schedule Token Classes Used To Create Different Types of Schedules

The following table describes the embedded classes that you can use to provide scheduling information to Configuration Manager 2007 components.

  • SMS_ST_RecurInterval Server WMI Class
    The SMS_ST_RecurInterval WMI class enables the scheduling of events that occur at regular intervals, such as every 10 days, rather than on designated dates and times.
  • SMS_ST_RecurMonthlyByDate Server WMI Class
    The SMS_ST_RecurMonthlyByDate WMI class enables the scheduling of events that occur on designated days at designated monthly intervals, such as every third month on the 15th day of the month.
  • SMS_ST_RecurMonthlyByWeekday Server WMI Class
    The SMS_ST_RecurMonthlyByWeekday WMI class enables the scheduling of events that occur for a specific day of the week, on a given week of the month, at a given monthly interval. For example, the second Saturday of every month.
  • SMS_ST_RecurWeekly Server WMI Class
    The SMS_ST_RecurWeekly WMI class enables the scheduling of events that occur at weekly intervals, regardless of the week's sequence in any month, such as every third week on Wednesday.

Class and Methods Used to Read or Write Schedule Tokens

The following SMS_ScheduleMethods WMI class, and the corresponding ReadFromString and WriteToString methods are used to decode and encode schedule tokens into and from an interval string.

  • SMS_ScheduleMethods Server WMI Class
    The SMS_ScheduleMethods WMI class contains methods for decoding and encoding schedule tokens into and from an interval string.

    These methods are not used to convert the schedule tokens to or from the friendly scheduling strings found in the Configuration Manager console, such as Occurs every 1 day(s) effective 9:27AM Tuesday. Instead, the methods are used to convert the schedule tokens to or from SMS interval strings (SMS interval strings are not of the same format as the WMI interval strings). SMS interval strings are an internal representation of the schedule token.

See Also

Concepts

How to Create a Schedule Token
Scheduling Server WMI Classes
SMS_ST_NonRecurring Server WMI Class
SMS_ST_RecurInterval Server WMI Class
SMS_ST_RecurMonthlyByDate Server WMI Class
SMS_ST_RecurMonthlyByWeekday Server WMI Class
SMS_ST_RecurWeekly Server WMI Class
SMS_ScheduleMethods Server WMI Class
ReadFromString Method in Class SMS_ScheduleMethods
WriteToString Method in Class SMS_ScheduleMethods