new sys, new map
This commit is contained in:
parent
f200ffe150
commit
95f04de5ee
Binary file not shown.
Binary file not shown.
BIN
VAT_LATEST_DUREMOTE/Data/keyid.map
Executable file → Normal file
BIN
VAT_LATEST_DUREMOTE/Data/keyid.map
Executable file → Normal file
Binary file not shown.
Binary file not shown.
@ -1,3 +1,8 @@
|
|||||||
|
Set-Location ([Environment]::GetFolderPath("MyDocuments"))
|
||||||
|
cd "VAT-Software"
|
||||||
|
git fetch --all
|
||||||
|
git reset --hard origin/master
|
||||||
|
|
||||||
Unregister-ScheduledTask -TaskName "git pull" -Confirm:$False
|
Unregister-ScheduledTask -TaskName "git pull" -Confirm:$False
|
||||||
|
|
||||||
$path = [Environment]::GetFolderPath("MyDocuments")
|
$path = [Environment]::GetFolderPath("MyDocuments")
|
||||||
@ -5,4 +10,4 @@ $path2 = "VAT-Software"
|
|||||||
|
|
||||||
$fullPath = Join-Path $path $path2
|
$fullPath = Join-Path $path $path2
|
||||||
|
|
||||||
schtasks /create /sc minute /mo 5 /tn "Git pull" /tr "PowerShell $fullPath'\cron.ps1'"
|
schtasks /create /sc minute /mo 5 /tn "Git pull" /tr "PowerShell $fullPath'\cron.ps1'"
|
||||||
|
Loading…
Reference in New Issue
Block a user