This commit is contained in:
Lanta 2023-11-14 10:45:07 +01:00
parent c590becf0a
commit 38bd9ae1df
7 changed files with 18 additions and 7 deletions

View file

@ -6,7 +6,7 @@ else {
}
. $scriptroot\..\includes\ps1\lockfile.ps1
new-lock
new-lock -by "get_matches"
# Read the content of the file as a single string
$fileContent = Get-Content -Path "$scriptroot/../config/config.php" -Raw

View file

@ -10,7 +10,7 @@ else {
}
. $scriptroot\..\includes\ps1\lockfile.ps1
new-lock
new-lock -by "matchparser"
##SETTINGS
$monthsback = -1 # how many months back to look for matches
##END OF SETTINGS

View file

@ -1,11 +1,13 @@
. .\..\includes\ps1\lockfile.ps1

new-lock
if($PSScriptRoot.length -eq 0){
$scriptroot = Get-Location
}else{
$scriptroot = $PSScriptRoot
}
. $scriptroot\..\includes\ps1\lockfile.ps1
new-lock -by "update_clan"
# Read the content of the file as a single string
$fileContent = Get-Content -Path "$scriptroot/../config/config.php" -Raw

View file

@ -10,7 +10,7 @@ else {
}
. $scriptroot\..\includes\ps1\lockfile.ps1
new-lock
new-lock -by "update_clan_members"
# Read the content of the file as a single string
$fileContent = Get-Content -Path "$scriptroot/../config/config.php" -Raw