美文网首页
daemon.ckConnection.sh

daemon.ckConnection.sh

作者: minichen | 来源:发表于2017-02-15 10:08 被阅读11次
#!/bin/sh

# Usage: This utility wraps ckConnection.sh : runs ./ckConnection.sh in background and outputs in ./ckConnection.output
#
PID=$1
INTERVAL=$2
if [ "$INTERVAL" == "" ];then
        INTERVAL=10
fi
if [ "$PID" == "" ];then
        echo "$0 <PID> [INTERVAL]"
        exit 1
fi

./ckConnection.sh $PID $INTERVAL > ./ckConnection.output 2>&1 &

网友评论

      本文标题:daemon.ckConnection.sh

      本文链接:https://www.haomeiwen.com/subject/gdtqwttx.html