@echo off chcp 65001 >nul cd /d "%~dp0" :start echo [%date% %time%] 서버 시작 중... python run.py echo [%date% %time%] 서버가 종료되었습니다. 5초 후 재시작합니다... timeout /t 5 /nobreak >nul goto start