cd
dt=date '+%Y-%m-%d %H:%M:%S'
echo $dt ' start to run'>> whk.log
PATH=$PATH:/
pio train >> whk.log 2>&1
temp=netstat -anp 2>/dev/null | grep 4040 | awk '{print $7}' | sed 's/[a-z\/]//g'
if [ "$temp" = "" ]; then
echo "no find the thread" >> whk.log
else
echo "kill the thread:$temp" >> whk.log
kill -9 $temp
fi
创新互联专注于兴庆网站建设服务及定制,我们拥有丰富的企业做网站经验。 热诚为您提供兴庆营销型网站建设,兴庆网站制作、兴庆网页设计、兴庆网站官网定制、微信平台小程序开发服务,打造兴庆网络公司原创品牌,更为您提供兴庆网站排名全网营销落地服务。
pio deploy >> whk.log 2>&1
echo 'finish'>> whk.log
售后响应及时
7×24小时客服热线数据备份
更安全、更高效、更稳定价格公道精准
项目经理精准报价不弄虚作假合作无风险
重合同讲信誉,无效全额退款