Blame view

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

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

cd $SCRIPT_PATH/..

0393f729   Etienne Pallier   test install mac
8
9
source ../private/venv_py3_pyros/bin/activate

fafae58f   haribo   Cleaned directory
10
./scripts/kill_celery_workers.sh
288601ca   haribo   Date: 05/07/2016
11
celery worker -A pyros -Q alert_listener_q -n pyros@alert_listener -c 1 &
a190892c   haribo   Date: 05/07/2016
12
celery worker -A pyros -Q monitoring_q -n pyros@monitoring -c 1 &
ef60c3ec   Jeremy   Majordome and mon...
13
celery worker -A pyros -Q majordome_q -n pyros@majordome -c 1 &
f7dd3df1   Jeremy   Update simulators...
14
15
16
17
18
19
20
21
22

celery worker -A pyros -Q scheduling_q --purge -n pyros@scheduling -c 1 &
celery worker -A pyros -Q execute_sequence_q --purge -n pyros@execute_sequence -c 1 &
celery worker -A pyros -Q execute_plan_vis_q --purge -n pyros@execute_plan_vis -c 1 &
celery worker -A pyros -Q execute_plan_nir_q --purge -n pyros@execute_plan_nir -c 1 &
celery worker -A pyros -Q create_calibrations_q --purge -n pyros@create_calibrations -c 1 &
celery worker -A pyros -Q analysis_q --purge -n pyros@analysis -c 5 &
celery worker -A pyros -Q system_status_q --purge -n pyros@system_status -c 1 &
celery worker -A pyros -Q change_obs_conditions_q --purge -n pyros@change_obs_conditions -c 1 &