Explorar o código

update Refund.sh.

xdc %!s(int64=5) %!d(string=hai) anos
pai
achega
6dfa77c9ef
Modificáronse 1 ficheiros con 4 adicións e 6 borrados
  1. 4 6
      Refund.sh

+ 4 - 6
Refund.sh

@@ -1,9 +1,4 @@
-
-===============  1.0-Version  ==============
-
 #!/bin/bash
-set -xe
-
 while :
 do
 refund=`tail -n 300 /root/server.log|grep Refund|awk '{print $6}'|sort|uniq`
@@ -12,4 +7,7 @@ do
 curl -i -H "Accept:application/json" -X POST -d "{\"user_id\":855,\"game_id\":177,\"refund_id\":\"${id}\"}" http://onlyellow.cstor.cn:18888/launch_refund
 done
 sleep 6
-done
+done
+
+#########################
+# Version 2