vali 6 years ago
parent
commit
9006beb4e8
1 changed files with 7 additions and 0 deletions
  1. 7 0
      commands/start_RedisToSql.sh

+ 7 - 0
commands/start_RedisToSql.sh

@@ -0,0 +1,7 @@
+#!/bin/sh
+cd /home/swooleProV2/dataInterface/commands/
+ps -ef | grep  bootRedisToSql | awk '{print $1}' | sort -n | head -n 1 |  xargs  kill
+sleep 1
+php bootRedisToSql.php
+sleep 1
+ps -ef | grep  bootRedisToSql