- #!/bin/sh
- cd /home/swooleProV2/dataInterface/commands/
- ps -ef | grep bootSettelementHttp |grep -v 'grep'| awk '{print $1}' | sort -n | head -n 1 | sed 's/root//' | xargs kill
- sleep 1
- php bootSettelementHttp.php
- sleep 1
- ps -ef | grep bootSettelementHttp
|