IdleSettings.RestartOnIdle property
For scripting, gets or sets a Boolean value that indicates whether the task is restarted when the computer cycles into an idle condition more than once.
Syntax
IdleSettings.RestartOnIdle As Boolean
Property value
A Boolean value that indicates whether the task must be restarted when the computer cycles into an idle condition more than once. The default is False.
Remarks
This property is only used if the IdleSettings.StopOnIdleEnd property is set to True.
When reading or writing XML for a task, this setting is specified in the RestartOnIdle element of the Task Scheduler schema.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Type library |
|
DLL |
|