start_celery_workers.bat
875 Bytes
REM Kills and relaunches celery workers
REM Moves into the PYROS\src directory
cd %~dp0%
cd ..
call scripts\kill_celery_workers.bat
START /B "" celery worker -A pyros -Q alert_listener_q -n pyros@alert_listener
START /B "" celery worker -A pyros -Q scheduling_q --purge -n pyros@scheduling
START /B "" celery worker -A pyros -Q execute_sequence_q --purge -n pyros@execute_sequence
START /B "" celery worker -A pyros -Q execute_plan_vis_q --purge -n pyros@execute_plan_vis
START /B "" celery worker -A pyros -Q execute_plan_nir_q --purge -n pyros@execute_plan_nir
START /B "" celery worker -A pyros -Q analysis_q --purge -n pyros@analysis
REM celery worker -A pyros -Q system_status_q --purge -n pyros@system_status
REM celery worker -A pyros -Q change_obs_conditions_q --purge -n pyros@change_obs_conditions
REM celery worker -A pyros -Q monitoring_q -n pyros@monitoring