Update Documentation for win_scheduled_task.py (#66079)
Passing an empty string through this parameter is not gracefully handled by the module implementation, so adjust the documentation to only include the `PT0S` method of specifying unbounded `execution_time_limit`. The win_scheduled_task execution_time_limit must be set explicitly to an empty string to permit unbounded execution time. A newly created task without a value for `TaskSettings.ExecutionTimeLimit` will default to 72 hours (https://docs.microsoft.com/en-us/windows/win32/taskschd/tasksettings-executiontimelimit) even if you omit the Ansible task parameter `execution_time_limit`.
This commit is contained in:
parent
506e2da0ff
commit
d85f68cf6c
1 changed files with 2 additions and 1 deletions
|
@ -353,7 +353,8 @@ options:
|
||||||
execution_time_limit:
|
execution_time_limit:
|
||||||
description:
|
description:
|
||||||
- The amount of time allowed to complete the task.
|
- The amount of time allowed to complete the task.
|
||||||
- When not set, the time limit is infinite.
|
- When set to `PT0S`, the time limit is infinite.
|
||||||
|
- When omitted, the default time limit is 72 hours.
|
||||||
- This is in the ISO 8601 Duration format C(P[n]Y[n]M[n]DT[n]H[n]M[n]S).
|
- This is in the ISO 8601 Duration format C(P[n]Y[n]M[n]DT[n]H[n]M[n]S).
|
||||||
type: str
|
type: str
|
||||||
version_added: '2.5'
|
version_added: '2.5'
|
||||||
|
|
Loading…
Reference in a new issue