Skip to content

Commit 3ac2a2b

Browse files
anjannathpraveenkumar
authored andcommitted
daemon: set execution time limit of daemon task to indefinite
this adds the <ExecutionTimeLimit> element with a value of PT0S and a value of PT0S will enable the task to run indefinitely docs for ExecutionTimeLimit can be found at: https://learn.microsoft.com/en-us/windows/win32/taskschd/taskschedulerschema-executiontimelimit-settingstype-element
1 parent 079ea4c commit 3ac2a2b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/crc/preflight/preflight_daemon_task_check_windows.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ var (
3535
<RestartOnIdle>false</RestartOnIdle>
3636
</IdleSettings>
3737
<UseUnifiedSchedulingEngine>true</UseUnifiedSchedulingEngine>
38+
<ExecutionTimeLimit>PT0S</ExecutionTimeLimit>
3839
</Settings>
3940
<Triggers>
4041
<LogonTrigger>

0 commit comments

Comments
 (0)