Fixes the settings of the scheduled task, so that LibreHardwareMonitor is not terminated after 3 days. (#298)
This commit is contained in:
@@ -149,6 +149,8 @@ namespace LibreHardwareMonitor.UI
|
||||
taskDefinition.Settings.StartWhenAvailable = true;
|
||||
taskDefinition.Settings.DisallowStartIfOnBatteries = false;
|
||||
taskDefinition.Settings.StopIfGoingOnBatteries = false;
|
||||
taskDefinition.Settings.ExecutionTimeLimit = TimeSpan.Zero;
|
||||
taskDefinition.Settings.AllowHardTerminate = false;
|
||||
|
||||
taskDefinition.Principal.RunLevel = TaskRunLevel.Highest;
|
||||
taskDefinition.Principal.LogonType = TaskLogonType.InteractiveToken;
|
||||
|
||||
Reference in New Issue
Block a user