Blame view

src/scripts/start_celery_workers.sh 822 Bytes
94336356   haribo   Added starting fi...
1
2
# Kills and re-launches the celery workers

fafae58f   haribo   Cleaned directory
3
4
5
6
7
8
SCRIPT_PATH=$0
SCRIPT_PATH=${SCRIPT_PATH%/*}

cd $SCRIPT_PATH/..

./scripts/kill_celery_workers.sh
77816f10   haribo   Workflow implemen...
9
10
11
celery worker -A pyros -Q alert_listener_q -n pyros@alert_listener &
celery worker -A pyros -Q scheduling_q --purge -n pyros@scheduling &
celery worker -A pyros -Q execute_sequence_q --purge -n pyros@execute_sequence &
9774228b   haribo   Date: 22/06/2016
12
13
celery worker -A pyros -Q execute_plan_vis_q --purge -n pyros@execute_plan_vis &
celery worker -A pyros -Q execute_plan_nir_q --purge -n pyros@execute_plan_nir &
77816f10   haribo   Workflow implemen...
14
celery worker -A pyros -Q analysis_q --purge -n pyros@analysis &
5b5566ab   haribo   added celery
15
16
# celery worker -A pyros -Q system_status_q --purge -n pyros@system_status &
# celery worker -A pyros -Q change_obs_conditions_q --purge -n pyros@change_obs_conditions &
77816f10   haribo   Workflow implemen...
17
# celery worker -A pyros -Q monitoring_q -n pyros@monitoring &