From 030c7d0d92d3646a84fd604e3fd05d9a9ec15da1 Mon Sep 17 00:00:00 2001 From: Ben Miller Date: Thu, 19 Jun 2025 14:29:16 -0600 Subject: [PATCH] foam_sync.ps1 (LIFEBALANCE) 2025-06-19T14:29:16Z --- foam_sync.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/foam_sync.ps1 b/foam_sync.ps1 index 1fa719a..06cd4d5 100644 --- a/foam_sync.ps1 +++ b/foam_sync.ps1 @@ -46,6 +46,7 @@ try { $currentAction = $existingTask.Actions[0] # Check Trigger + Write-Host "Checking trigger..." $triggerMatches = $false if ($currentTrigger -is [Microsoft.Management.Infrastructure.CimInstance] ` -and $currentTrigger.RepetitionInterval.TotalMinutes -eq $trigger.RepetitionInterval.TotalMinutes) { @@ -53,6 +54,7 @@ try { } # Check Action + Write-Host "Checking action..." $actionMatches = $false if ($currentAction -is [Microsoft.Management.Infrastructure.CimInstance] ` -and $currentAction.Execute -eq $taskExecute `