Changeset 1870
- Timestamp:
 - Jun 5, 2011, 6:49:02 AM (14 years ago)
 - File:
 - 
          
- 1 edited
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
        
trunk/server/fedora/config/etc/cron.daily/num-crontabs
r1869 r1870 3 3 numcrontabs=$(ls -1 /var/spool/cron | wc -l) 4 4 if [ $numcrontabs -lt 100 ] && [ $numcrontabs -gt 0 ]; then 5 logger -s -p cron.warn -t cron "$(hostname --fqdn) has $numcrontabs files in /var/spool/cron and should have none or hundreds." 5 msg="$(hostname --fqdn) has $numcrontabs files in /var/spool/cron and should have none or hundreds." 6 logger -u /dev/log -p cron.warning -t cron "$msg" 7 echo "$msg" 6 8 fi  
Note: See TracChangeset
          for help on using the changeset viewer.
      