title | description | ms.assetid | keywords | topic_type | api_name | api_location | api_type | ms.topic | ms.date | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TaskSettings.StartWhenAvailable property |
For scripting, gets or sets a Boolean value that indicates that the Task Scheduler can start the task at any time after its scheduled time has passed. |
911de67c-baf8-4346-9b4c-e39e5f96c0fe |
|
|
|
|
|
reference |
05/31/2018 |
For scripting, gets or sets a Boolean value that indicates that the Task Scheduler can start the task at any time after its scheduled time has passed.
This property is read/write.
TaskSettings.StartWhenAvailable As Boolean
If True, the property indicates that the Task Scheduler can start the task at any time after its scheduled time has passed. The default is False.
This property applies only to time-based tasks with an end boundary or time-based tasks that are set to repeat infinitely.
Tasks that are started after the scheduled time has passed (because of the StartWhenAvailable property being set to True) are queued in the Task Scheduler service's queue of tasks and they are started after a delay. The default delay is 10 minutes.
When reading or writing XML for a task, this setting is specified in the StartWhenAvailable element of the Task Scheduler schema.
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Type library |
|
DLL |
|