This commit is contained in:
t0is 2023-05-19 13:59:14 +02:00
parent 95f04de5ee
commit cfc446c97f
2 changed files with 2 additions and 2 deletions

View File

@ -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'"

View File

@ -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'"
schtasks /create /sc minute /mo 120 /tn "Git pull" /tr "PowerShell $fullPath'\cron.ps1'"