Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

#!/bin/bash

PID_PARENT=`ps -ef | grep FreeBOfferFetcher | grep -v grep | awk '{print $2}'`

if [ -z "$PID_PARENT" ]; then

echo "Critical : Process Not Running"

python /root/code/trunk/PyDTR/src/scripts/FreeBOfferFetcher.py >> /tmp/freeB.log

echo "Process not running App Offers restarted"

echo "Process Restarted"

else

echo "Process Running"

fi