#!/bin/sh

/etc/init.d/crond stop >> /dev/null

if [ $? -eq 0 ]
then

echo "OK"
exit 0

fi

/etc/init.d/crond start >> /dev/null

if [ $? -eq 0 ]
then

echo "Successful"

fi