weekType Simple Type

Defines the values that can be used in the Week element.

<xs:simpleType name="weekType">
    <xs:restriction
        base="string"
    >
        <xs:pattern
            value="[1-4]|Last"
         />
    </xs:restriction>
</xs:simpleType>

Patterns

The weekType simple type is a string that is restricted by the following pattern:

  • [1-4]|Last

    Specifies the first through the fourth week of the month (1-4) or always the last week of the month.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]

See also

Task Scheduler Schema Simple Types

Task Scheduler