melodix-api / _run_celery.ps1
GitHub Action
deploy from github actions
440bac0
Raw
History Blame Contribute Delete
531 Bytes
Set-Location $PSScriptRoot
Write-Host "================================================" -ForegroundColor Cyan
Write-Host " MELODIX - Celery Worker" -ForegroundColor Cyan
Write-Host "================================================" -ForegroundColor Cyan
Write-Host ""
& ".\venv_musical\Scripts\Activate.ps1"
& ".\venv_musical\Scripts\python.exe" -m celery -A tasks worker --loglevel=info --concurrency=1 -P solo
Write-Host ""
Write-Host "Celery Worker detenido." -ForegroundColor Yellow
Read-Host "Presiona Enter para cerrar"