Week (weeksType) Element

Specifies a specific week of the month.

<xs:element name="Week"

The Week element is defined by the weeksType complex type.

Parent element

ElementDerived fromDescription
Weeks (monthlyDayOfWeekScheduleType) weeksType

Specifies the weeks of the month in which the task is run.


When specifying the weeks of the month, use the numbers 1-4 for the first four weeks of the month or use the string "Last" to indicate that last week of the month.


Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

See also

Task Scheduler Schema Elements
Task Scheduler