Muokkaa

Jaa


Sunday (daysOfWeekType) Element

Specifies that the task runs on Sunday.

<xs:element name="Sunday">
    <xs:complexType />
</xs:element>

The Sunday element is defined by the daysOfWeekType complex type.

Parent element

Element Derived from Description
DaysOfWeek (monthlyDayOfWeekScheduleType) daysOfWeekType Specifies the days of the week in which the task runs for a monthly day-of-week schedule.
DaysOfWeek (weeklyScheduleType) daysOfWeekType Specifies the days of the week in which the task runs for a weekly schedule.

Examples

The following XML defines a day of week calendar that starts a task on Sunday.

<DaysOfWeek>
    <Sunday/>
</DaysOfWeek>

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 Elements

Task Scheduler