Rev 16827 | Blame | Compare with Previous | Last modification | View Log | RSS feed
#!/bin/bashPID_PARENT=`ps -ef | grep FreeBOfferFetcher | grep -v grep | awk '{print $2}'`if [ -z "$PID_PARENT" ]; thenecho "Critical : Process Not Running"python /root/code/trunk/PyDTR/src/scripts/FreeBOfferFetcher.py >> /tmp/freeBOffer.log 2>&1 &echo "Process not running App Offers Process restarted"echo "Process Restarted"elseecho "Process Running"fi