From e2fc92502957a4044a8645e5dae069620c5af0ec Mon Sep 17 00:00:00 2001 From: Ben Miller Date: Thu, 19 Jun 2025 13:55:15 -0600 Subject: [PATCH] foam_sync.ps1 (LIFEBALANCE) 2025-06-19T13:55:15Z --- foam_sync.ps1 | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/foam_sync.ps1 b/foam_sync.ps1 index a1fbff6..5203b1b 100644 --- a/foam_sync.ps1 +++ b/foam_sync.ps1 @@ -1,11 +1,13 @@ #Requires -Version 5.1 -$s -# --- Configuration --- -$frequencyMinutes = 2 # How often the Scheduled Task should attempt to run this script +$task = @{ + name = 'FoamGitSync' + freqencyMinutes = 2 +} -# --- Scheduled Task Setup --- -$taskName = "FoamGitSync" +# --- Configuration --- +$frequencyMinutes = $task.freqencyMinutes # How often the Scheduled Task should attempt to run this script +$taskName = $task.name # --- Log File Setup --- # Log inside the repository, in a .logs subfolder. Ensure this is in .gitignore