Commit a8a59f31 authored by 赵威's avatar 赵威

update script

parent a163dad7
if ! ps aux | grep src/main_portrait.py\ c | grep -v grep # if ! ps aux | grep src/main_portrait.py\ c | grep -v grep
then # then
nohup /home/gmuser/.virtualenvs/tf1/bin/python3 /srv/apps/gm_strategy_cvr/src/main_portrait.py c > ~/ctcvr_c.log & # nohup /home/gmuser/.virtualenvs/tf1/bin/python3 /srv/apps/gm_strategy_cvr/src/main_portrait.py c > ~/ctcvr_c.log &
fi # fi
if ! ps aux | grep src/main_portrait.py\ d | grep -v grep # if ! ps aux | grep src/main_portrait.py\ d | grep -v grep
then # then
nohup /home/gmuser/.virtualenvs/tf1/bin/python3 /srv/apps/gm_strategy_cvr/src/main_portrait.py d > ~/ctcvr_d.log & # nohup /home/gmuser/.virtualenvs/tf1/bin/python3 /srv/apps/gm_strategy_cvr/src/main_portrait.py d > ~/ctcvr_d.log &
fi # fi
if ! ps aux | grep src/main_portrait.py\ e | grep -v grep # if ! ps aux | grep src/main_portrait.py\ e | grep -v grep
then # then
nohup /home/gmuser/.virtualenvs/tf1/bin/python3 /srv/apps/gm_strategy_cvr/src/main_portrait.py e > ~/ctcvr_e.log & # nohup /home/gmuser/.virtualenvs/tf1/bin/python3 /srv/apps/gm_strategy_cvr/src/main_portrait.py e > ~/ctcvr_e.log &
fi # fi
if ! ps aux | grep src/main_portrait.py\ f | grep -v grep # if ! ps aux | grep src/main_portrait.py\ f | grep -v grep
then # then
nohup /home/gmuser/.virtualenvs/tf1/bin/python3 /srv/apps/gm_strategy_cvr/src/main_portrait.py f > ~/ctcvr_f.log & # nohup /home/gmuser/.virtualenvs/tf1/bin/python3 /srv/apps/gm_strategy_cvr/src/main_portrait.py f > ~/ctcvr_f.log &
fi # fi
if ! ps aux | grep src/main_portrait.py\ 8 | grep -v grep if ! ps aux | grep src/main_portrait.py\ 8 | grep -v grep
then then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment