# Data Object - WeeklyTaskScheduler(vim.scheduler.WeeklyTaskScheduler)

Extends
  DailyTaskScheduler
Since
  2.0

## Data Object Description

The WeeklyTaskScheduler data object sets the time for weekly task execution. You can set the schedule for task execution on one or more days during the week, and you complete the schedule by setting the inherited properties for the hour and minute.

By default the scheduler executes the task according to the specified day(s) every week. If you set the interval to a value greater than 1, the task will execute at the specified weekly interval. (For example, an interval of 2 will cause the task to execute on the specified days every 2 weeks.)

Properties

Name | Type | Description
--- | --- | ---
friday | xsd:boolean |
monday | xsd:boolean |
saturday | xsd:boolean |
sunday | xsd:boolean | The day or days of the week when the scheduled task will run. At least one of the days must be true.
thursday | xsd:boolean |
tuesday | xsd:boolean |
wednesday | xsd:boolean |
Properties inherited from DailyTaskScheduler
hour
Properties inherited from HourlyTaskScheduler
minute
Properties inherited from RecurrentTaskScheduler
interval
Properties inherited from TaskScheduler
activeTime, expireTime
Properties inherited from DynamicData
None

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="WeeklyTaskScheduler"> <complexContent> <extension base="vsan:DailyTaskScheduler"> <sequence> <element name="sunday" type="xsd:boolean"/> <element name="monday" type="xsd:boolean"/> <element name="tuesday" type="xsd:boolean"/> <element name="wednesday" type="xsd:boolean"/> <element name="thursday" type="xsd:boolean"/> <element name="friday" type="xsd:boolean"/> <element name="saturday" type="xsd:boolean"/> </sequence> </extension> </complexContent> </complexType>