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