DaysInterval (dailyScheduleType) Element
Specifies the interval between the days in the schedule.
<xs:element name="DaysInterval"
minOccurs="0"
>
<xs:simpleType>
<xs:restriction
base="unsignedInt"
>
<xs:minInclusive
value="1"
/>
<xs:maxInclusive
value="365"
/>
</xs:restriction>
</xs:simpleType>
</xs:element>
The element is defined by the dailyScheduleType complex type.
Parent element
Element | Derived from | Description |
---|---|---|
ScheduleByDay | dailyScheduleType | Specifies a daily schedule. |
Remarks
For script development, the days interval for a daily trigger is specified by the DailyTrigger.DaysInterval property.
For C++ development, the days interval for a daily trigger is specified by the IDailyTrigger::DaysInterval property.
Examples
The following XML defines a daily calendar trigger that starts the task every day.
<CalendarTrigger>
<StartBoundary>2005-01-01T00:00:00</StartBoundary>
<EndBounadry>2007-01-01T00:00:00</EndBoundary>
<ScheduleByDay>
<DaysInterval>1</DaysInterval>
</ScheduleByDay>
</CalendarTrigger>
For a complete example of the XML for a task that specifies a daily schedule, see Daily Trigger Example (XML).
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |