Commit a62156cc authored by 赵威's avatar 赵威

update script

parent 7713bae7
if ! ps aux | grep src/main_portrait.py | grep -v grep
if ! ps aux | grep src/main_portrait.py\ c | grep -v grep
then
# workon tf1
nohup /home/gmuser/.virtualenvs/tf1/bin/python3 /srv/apps/gm_strategy_cvr/src/main_portrait.py c > ~/ctcvr_c.log &
fi
if ! ps aux | grep src/main_portrait.py\ d | grep -v grep
then
nohup /home/gmuser/.virtualenvs/tf1/bin/python3 /srv/apps/gm_strategy_cvr/src/main_portrait.py d > ~/ctcvr_d.log &
fi
if ! ps aux | grep src/main_portrait.py\ e | grep -v grep
then
nohup /home/gmuser/.virtualenvs/tf1/bin/python3 /srv/apps/gm_strategy_cvr/src/main_portrait.py e > ~/ctcvr_e.log &
fi
if ! ps aux | grep src/main_portrait.py\ f | grep -v grep
then
nohup /home/gmuser/.virtualenvs/tf1/bin/python3 /srv/apps/gm_strategy_cvr/src/main_portrait.py f > ~/ctcvr_f.log &
fi
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