Commit 90662af1 authored by 赵威's avatar 赵威

add tail

parent feb18264
......@@ -18,3 +18,22 @@ 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
nohup /home/gmuser/.virtualenvs/tf1/bin/python3 /srv/apps/gm_strategy_cvr/src/main_portrait.py 8 > ~/ctcvr_8.log &
fi
if ! ps aux | grep src/main_portrait.py\ 9 | grep -v grep
then
nohup /home/gmuser/.virtualenvs/tf1/bin/python3 /srv/apps/gm_strategy_cvr/src/main_portrait.py 9 > ~/ctcvr_9.log &
fi
if ! ps aux | grep src/main_portrait.py\ a | grep -v grep
then
nohup /home/gmuser/.virtualenvs/tf1/bin/python3 /srv/apps/gm_strategy_cvr/src/main_portrait.py a > ~/ctcvr_a.log &
fi
if ! ps aux | grep src/main_portrait.py\ b | grep -v grep
then
nohup /home/gmuser/.virtualenvs/tf1/bin/python3 /srv/apps/gm_strategy_cvr/src/main_portrait.py b > ~/ctcvr_b.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