Search results

  1. davidsteimle

    PowerShell script on Centos fails to run via cron

    I find that even with the working directory in the cron entry pwsh tends to run elsewhere (I have not done this for a while, so I forget what location I have seen). Maybe add a ``Get-Location | Select-Object -ExpandProperty Path | Out-File ~/cronpath.txt`` or ``$PSScriptRoot | Out-File...