daemon.ckConnection.sh

#!/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  [INTERVAL]"
        exit 1
fi

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

你可能感兴趣的:(daemon.ckConnection.sh)