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