Chapter 25. check_crontab.sh

#!/bin/sh


crontab -l | grep /sysadmin/check_swap_usage.sh >/dev/null 2>/dev/null

if [ $? -ne 0 ]
then
        echo 'No crontab entry for /sysadmin/check_swap_usage.sh.  '
fi


crontab -l | grep /var/cfengine/bin/cfexecd >/dev/null 2>/dev/null

if [ $? -ne 0 ]
then
        echo 'No crontab entry for /var/cfengine/bin/cfexecd.  '
fi