From 642cf06a797ebdcf62bed772b4672c7294770c44 Mon Sep 17 00:00:00 2001 From: Ben Miller Date: Wed, 18 Jun 2025 23:59:21 -0600 Subject: [PATCH] foam_sync.ps1 (LIFEBALANCE) 2025-06-18T23:59:21Z --- foam_sync.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/foam_sync.ps1 b/foam_sync.ps1 index 7234510..017adf9 100644 --- a/foam_sync.ps1 +++ b/foam_sync.ps1 @@ -47,7 +47,7 @@ $taskName = "FoamGitSync" $taskDescription = "Periodically synchronizes the Git repository at $scriptDir using $scriptName." # Run as the user who executes this script. -$taskPrincipal = New-ScheduledTaskPrincipal -UserId $env:USERNAME -LogonType InteractiveOrPassword +$taskPrincipal = New-ScheduledTaskPrincipal -UserId $env:USERNAME -LogonType Interactive # Trigger configuration $trigger = New-ScheduledTaskTrigger -Once -At (Get-Date) -RepetitionInterval (New-TimeSpan -Minutes $frequencyMinutes)