run_daily.ps1 287 B

1234567891011
  1. $ErrorActionPreference = "Stop"
  2. $root = Split-Path -Parent $PSScriptRoot
  3. $python = Join-Path $root "..\.venv\Scripts\python.exe"
  4. $main = Join-Path $root "main.py"
  5. if (-not (Test-Path -LiteralPath $python)) {
  6. throw "Python virtual environment not found: $python"
  7. }
  8. & $python $main