vat-software/scripts/shared_sw/fix.ps1
2023-11-24 09:07:23 +01:00

5 lines
200 B
PowerShell

$path = [Environment]::GetFolderPath("MyDocuments")
$path2 = "VAT-Software"
$fullPath = Join-Path $path $path2
schtasks /create /sc minute /mo 120 /tn "Git pull" /tr "PowerShell $fullPath'\cron.ps1'"