priceTask.sh 237 B

12345678
  1. #!/bin/bash
  2. basepath=$(cd `dirname $0`; pwd)
  3. cd $basepath
  4. #pidlist=`ps -ef | grep price:task | grep -v grep |awk '{print $2}'`
  5. #kill -9 $pidlist
  6. nohup php ../artisan price:task start >/dev/null 2>&1 &
  7. echo '价格服务运行成功 ...'