Commit a8a59f31 authored by 赵威's avatar 赵威

update script

parent a163dad7
if ! ps aux | grep src/main_portrait.py\ c | grep -v grep
then
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\ c | grep -v grep
# then
# 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\ 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\ 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
# 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
if ! ps aux | grep src/main_portrait.py\ 8 | grep -v grep
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