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

Extends
  TaskScheduler

## Data Object Description

The OnceTaskScheduler data object establishes the time for running a scheduled task only once.

Properties

Name | Type | Description
--- | --- | ---
runAt* | xsd:dateTime | The time a task will run. If you do not set the time, it executes immediately.
Properties inherited from TaskScheduler
activeTime, expireTime
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="OnceTaskScheduler"> <complexContent> <extension base="vsan:TaskScheduler"> <sequence> <element name="runAt" type="xsd:dateTime" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>