From da806e9c628548bfa08ba9386007ab3e1caff0d4 Mon Sep 17 00:00:00 2001 From: Ben Miller Date: Wed, 18 Jun 2025 23:58:32 -0600 Subject: [PATCH] foam_sync.ps1 (LIFEBALANCE) 2025-06-18T23:58:32Z --- foam_sync.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/foam_sync.ps1 b/foam_sync.ps1 index ca4903f..7234510 100644 --- a/foam_sync.ps1 +++ b/foam_sync.ps1 @@ -50,7 +50,7 @@ $taskDescription = "Periodically synchronizes the Git repository at $scriptDir u $taskPrincipal = New-ScheduledTaskPrincipal -UserId $env:USERNAME -LogonType InteractiveOrPassword # Trigger configuration -$trigger = New-ScheduledTaskTrigger -Once -At (Get-Date) -RepetitionInterval (New-TimeSpan -Minutes $frequencyMinutes) -RepetitionDuration ([TimeSpan]::MaxValue) +$trigger = New-ScheduledTaskTrigger -Once -At (Get-Date) -RepetitionInterval (New-TimeSpan -Minutes $frequencyMinutes) # Action configuration: run this script $action = New-ScheduledTaskAction -Execute "powershell.exe" -Argument "-NoProfile -NonInteractive -ExecutionPolicy Bypass -File `"$scriptPath`""