From 14bcf98f85b0378d10fdf6570a433fce61e1c3e8 Mon Sep 17 00:00:00 2001 From: Ben Miller Date: Thu, 19 Jun 2025 13:51:58 -0600 Subject: [PATCH] foam_sync.ps1 (LIFEBALANCE) 2025-06-19T13:51:58Z --- foam_sync.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/foam_sync.ps1 b/foam_sync.ps1 index 25d3b98..ccd2a08 100644 --- a/foam_sync.ps1 +++ b/foam_sync.ps1 @@ -54,7 +54,7 @@ try { # Check Trigger $triggerMatches = $false if ($currentTrigger -is [Microsoft.Management.Infrastructure.CimInstance] ` - -and $currentTrigger.RepetitionInterval.TotalMinutes -eq $frequencyMinutes) { + -and $currentTrigger.RepetitionInterval.TotalMinutes -eq $trigger.RepetitionInterval.TotalMinutes) { $triggerMatches = $true }