foam_sync.ps1 (LIFEBALANCE) 2025-06-19T13:50:50Z
This commit is contained in:
@ -71,11 +71,11 @@ try {
|
|||||||
|
|
||||||
# Check Settings (specifically ExecutionTimeLimit for this change)
|
# Check Settings (specifically ExecutionTimeLimit for this change)
|
||||||
$settingsMatch = $false
|
$settingsMatch = $false
|
||||||
if ($existingTask.Settings.ExecutionTimeLimit -eq $taskExecutionTimeLimit) {
|
if ($existingTask.Settings.ExecutionTimeLimit -eq $settings.ExecutionTimeLimit) {
|
||||||
$settingsMatch = $true
|
$settingsMatch = $true
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
Write-Warning "settings do not match: want $taskExecutionTimeLimit, got $($existingTask.Settings.ExecutionTimeLimit)"
|
Write-Warning "settings do not match: want $($settings.ExecutionTimeLimit), got $($existingTask.Settings.ExecutionTimeLimit)"
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($triggerMatches -and $actionMatches -and $principalMatches -and $settingsMatch) {
|
if ($triggerMatches -and $actionMatches -and $principalMatches -and $settingsMatch) {
|
||||||
|
|||||||
Reference in New Issue
Block a user