Skip to content

Commit 156e0b7

Browse files
committed
Daily-Maintenance.ps1
1 parent 523680d commit 156e0b7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/build-agents/Daily-Maintenance.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ $ErrorActionPreference = 'Stop'
66

77
# Get the script's directory
88
$scriptDir = $PSScriptRoot
9+
10+
Set-Location $scriptDir
11+
912
$lastExecutionFile = Join-Path $scriptDir "last-execution.txt"
1013
$executionLogFile = Join-Path $scriptDir "Daily-Maintenance.log"
1114

0 commit comments

Comments
 (0)