From 85cc3293491676b8a0a0099f6461c5ce8ca9870b Mon Sep 17 00:00:00 2001 From: Ben Miller Date: Thu, 19 Jun 2025 19:17:00 -0600 Subject: [PATCH] foam_sync.ps1 (LIFEBALANCE) 2025-06-19T19:17:00Z --- foam_sync.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/foam_sync.ps1 b/foam_sync.ps1 index efe2287..d157f58 100644 --- a/foam_sync.ps1 +++ b/foam_sync.ps1 @@ -64,7 +64,7 @@ try { Write-Host "Checking trigger..." $triggerMatches = $false if ($currentTrigger -is [Microsoft.Management.Infrastructure.CimInstance] ` - -and $currentTrigger.Repetition.Interval.TotalMinutes -eq $trigger.Repetition.Interval.TotalMinutes) { + -and $currentTrigger.Repetition.Interval -eq $trigger.Repetition.Interval) { $triggerMatches = $true } else {