nohup python -u spider.py > log_spider.log 2>&1 &
ps -ef|grep abc.py|grep -v grep |awk 'NR==1 {print $2}'|xargs kill -9
nohup python -u abc.py > log_schedule.log 2>&1 &
nohup python -u spider.py > log_spider.log 2>&1 &
ps -ef|grep abc.py|grep -v grep |awk 'NR==1 {print $2}'|xargs kill -9
nohup python -u abc.py > log_schedule.log 2>&1 &
本文标题:python deploy
本文链接:https://www.haomeiwen.com/subject/vfakactx.html
网友评论