@echo off cd /d %~dp0 echo ===== YS render worker log (last 40 lines) ===== powershell -NoProfile -Command "if (Test-Path '%~dp0worker.log') { Get-Content '%~dp0worker.log' -Tail 40 } else { 'worker.log not found' }" echo. echo ===== Server queue status ===== powershell -NoProfile -Command "try { (Invoke-WebRequest -UseBasicParsing 'http' -TimeoutSec 15).Content } catch { 'cannot reach server' }" echo. pause