IWeeklyTrigger interface (taskschd.h)
Represents a trigger that starts a task based on a weekly schedule. For example, the task starts at 8:00 A.M. on a specific day of the week every week or every other week.
The IWeeklyTrigger interface inherits from the ITrigger interface.
The IWeeklyTrigger interface has these methods.
Gets or sets the days of the week in which the task runs. (Get)
Gets or sets a delay time that is randomly added to the start time of the trigger. (IWeeklyTrigger.get_RandomDelay)
Gets or sets the interval between the weeks in the schedule. (Get)
Gets or sets the days of the week in which the task runs. (Put)
Gets or sets a delay time that is randomly added to the start time of the trigger. (IWeeklyTrigger.put_RandomDelay)
Gets or sets the interval between the weeks in the schedule. (Put)
The time of day that the task is started is set by the StartBoundary property.
When reading or writing your own XML for a task, a weekly trigger is specified using the ScheduleByWeek element of the Task Scheduler schema.
|Minimum supported client||Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2008 [desktop apps only]|