StartWhenAvailable (settingsType) Element
Specifies that the Task Scheduler can start the task at any time after its scheduled time has passed.
<xs:element name="StartWhenAvailable"
type="boolean"
default="false"
minOccurs="0"
/>
The StartWhenAvailable element is defined by the settingsType complex type.
Parent element
Element | Derived from | Description |
---|---|---|
Settings | settingsType | Contains the settings that the Task Scheduler uses to perform the task. |
Remarks
This property applies only to timed tasks.
For C++ development, see StartWhenAvailable Property of ITaskSettings.
For script development, see TaskSettings.StartWhenAvailable.
Examples
The following XML defines a settings element that allows the Task Scheduler to start the task when it is available.
<Settings>
<StartWhenAvailable>true</StartWhenAvailable>
</Settings>
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για