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

Extends
  TaskScheduler
Since
  2.0

## 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:vim25="urn:vim25" name="OnceTaskScheduler"> <complexContent> <extension base="vim25:TaskScheduler"> <sequence> <element name="runAt" type="xsd:dateTime" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>