kaikai_test/send-reminder.bat
2026-05-07 16:31:56 +08:00

27 lines
617 B
Batchfile

@echo off
setlocal
cd /d "%~dp0"
set "PY=C:\Users\13636\.cache\codex-runtimes\codex-primary-runtime\dependencies\python\python.exe"
set "LOG=%~dp0send-reminder.log"
echo Sending Feishu reminder...
echo Sending Feishu reminder... > "%LOG%"
echo Project: %CD% >> "%LOG%"
echo Python: %PY% >> "%LOG%"
echo. >> "%LOG%"
if not exist "%PY%" (
echo Python not found: %PY%
echo Python not found: %PY% >> "%LOG%"
goto END
)
"%PY%" -m daily_report.scheduled reminder >> "%LOG%" 2>&1
type "%LOG%"
:END
echo.
echo Log file: %LOG%
echo Please check the Feishu group. If there is an error, send Codex a screenshot.
pause