Commit 9cb95dc0 authored by 赵威's avatar 赵威

add script

parent 52eb9152
if ! ps aux | grep src/change_city_prediction.py | grep -v grep
then
nohup /home/gmuser/.virtualenvs/tf1/bin/python3 /srv/apps/gm_strategy_cvr/src/change_city_prediction.py >> ~/ctcvr_change_city_prediction.log &
fi
cvr_city_process=$(ps aux | grep src/change_city_prediction.py | grep -v grep | awk '{print $2}')
if [ $cvr_city_process ];
then
kill -9 $cvr_city_process
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