From: Rene R. <ren...@us...> - 2002-12-06 10:15:44
|
Update of /cvsroot/bobs/bobs/cron In directory sc8-pr-cvs1:/tmp/cvs-serv344 Added Files: check_loop.in Log Message: Conigure needs this file --- NEW FILE: check_loop.in --- #!/bin/bash # # This script checks if the cmdloop script is running. If not it starts it. # This is a path that needs to be set! CMDLOOP_DIR='@myBOBSDATA@/current/process' CMDLOOP_PID=`/sbin/pidof -x $CMDLOOP_DIR/cmdloop` if [ "$CMDLOOP_PID" == "" ] then exec $CMDLOOP_DIR/cmdloop & fi exit 0 |