2016-06-07 ■ #!/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