diff --git a/scripts/shared_sw/task_fix.ps1 b/scripts/shared_sw/task_fix.ps1 index 0897fc6..6500448 100644 --- a/scripts/shared_sw/task_fix.ps1 +++ b/scripts/shared_sw/task_fix.ps1 @@ -10,4 +10,4 @@ $path2 = "VAT-Software" $fullPath = Join-Path $path $path2 -schtasks /create /sc minute /mo 5 /tn "Git pull" /tr "PowerShell $fullPath'\cron.ps1'" +schtasks /create /sc minute /mo 120 /tn "Git pull" /tr "PowerShell $fullPath'\cron.ps1'" diff --git a/scripts/shared_sw/task_setup.ps1 b/scripts/shared_sw/task_setup.ps1 index c293e48..5c7213c 100644 --- a/scripts/shared_sw/task_setup.ps1 +++ b/scripts/shared_sw/task_setup.ps1 @@ -21,4 +21,4 @@ $trigger = New-ScheduledTaskTrigger -Daily -At 10am $fullPath = Join-Path $path $path2 -schtasks /create /sc minute /mo 15 /tn "Git pull" /tr "PowerShell $fullPath'\cron.ps1'" \ No newline at end of file +schtasks /create /sc minute /mo 120 /tn "Git pull" /tr "PowerShell $fullPath'\cron.ps1'"