nodebookls/start_celery.bat
2025-10-29 13:56:24 +08:00

18 lines
348 B
Batchfile
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@echo off
REM 启动Celery Worker脚本
echo 正在启动Celery Worker...
REM 检查是否安装了Python
python --version >nul 2>&1
if %errorlevel% neq 0 (
echo 错误: 未找到Python请先安装Python
pause
exit /b 1
)
REM 启动Celery Worker
echo 正在启动Celery Worker...
celery -A celery_app worker --loglevel=info
pause