source: trunk/server/fedora/config/etc/cron.daily/num-crontabs

Last change on this file was 1898, checked in by adehnert, 13 years ago
Use better priority and tag for num-crontabs It needs to be authpriv to get zephyred.
  • Property svn:executable set to *
File size: 303 bytes
3numcrontabs=$(ls -1 /var/spool/cron | wc -l)
4if [ $numcrontabs -lt 100 ] && [ $numcrontabs -gt 0 ]; then
[1870]5    msg="$(hostname --fqdn) has $numcrontabs files in /var/spool/cron and should have none or hundreds."
[1898]6    logger -u /dev/log -p -t num-crontabs "$msg"
[1870]7    echo "$msg"
Note: See TracBrowser for help on using the repository browser.