Share via


SMS_ST_RecurMonthlyByDate

The SMS_ST_RecurMonthlyByDate WMI class enables scheduling of events that occur on designated days at designated monthly intervals, such as every third month on the 15th day of the month.

The following syntax is simplified from MOF code and includes all inherited properties.

Class SMS_ST_RecurMonthlyByDate : SMS_ScheduleToken
{
  uint32 DayDuration;
  uint32 ForNumberOfMonths;
  uint32 HourDuration;
  boolean IsGMT;
  uint32 MinuteDuration;
  uint32 MonthDay;
  datetime StartTime;
};

Properties

  • DayDuration
    Data type: uint32

    Number of days during which the scheduled action occurs. Allowable values are in the range 0 - 31. A value of 0 indicates that the scheduled action continues indefinitely. Default is 0, indefinitely.

  • ForNumberOfMonths
    Data type: uint32

    Number of months between events. Allowable values are in the range 1 - 12. Default is 1, every month.

  • HourDuration
    Data type: uint32

    Number of hours during which the scheduled action occurs. Allowable values are in the range 0 - 23. Default is 0, no duration.

  • IsGMT
    Data type: boolean

    Indicates whether the time is GMT. A value of FALSE means local time is used. Default is false, local time.

  • MinuteDuration
    Data type: uint32

    Number of minutes during which the scheduled action occurs. Allowable values are in the range 0 - 59. Default is 0, no duration.

  • MonthDay
    Data type: uint32

    Day of the month on which the action occurs. Zero (0) specifies the last day of the month, regardless of its date. Allowable values are in the range 0 - 31. Default is 0, the last day of the month.

  • StartTime
    Data type: datetime

    Date and time when the scheduled action takes place. Default is January, 1, 1990.

See Also

Scheduling Classes, SMS_ScheduleMethods, SMS_ScheduleToken, SMS_ST_NonRecurring, SMS_ST_RecurInterval, SMS_ST_RecurMonthlyByWeekday, SMS_ST_RecurWeekly