foam_sync.ps1 (LIFEBALANCE) 2025-06-19T13:46:42Z
This commit is contained in:
@ -80,7 +80,7 @@ try {
|
||||
}
|
||||
else {
|
||||
Write-Host "Scheduled task '$taskName' configuration differs."
|
||||
Write-Host "`$triggerMatches: $triggerMatches, $actionMatches: $actionMatches, $principalMatches: $principalMatches, $settingsMatch: $settingsMatch`"
|
||||
Write-Host "`$triggerMatches: $triggerMatches, `$actionMatches: $actionMatches, `$principalMatches: $principalMatches, `$settingsMatch: $settingsMatch"
|
||||
Write-Host "Attempting to update in-place..."
|
||||
try {
|
||||
Set-ScheduledTask -TaskName $taskName -Action $action -Trigger $trigger -Settings $settings -Principal $taskPrincipal -ErrorAction Stop
|
||||
|
||||
Reference in New Issue
Block a user