Public feed
#2107077
process=`ps auxwww | grep yatb | grep -v grep | awk '{print $1}'`
DATE=`date`
if [ -z "$process" ]; then
echo "($DATE) Yatb dead"
/dir/yatb/yatb -u /dir/yatb/my.conf
else
echo "($DATE) Yatb OK!"
fi