Last change
on this file since 2843 was
1938,
checked in by achernya, 13 years ago
|
Merge r1878-r1937 from trunk to branches/fc15-dev
|
-
Property svn:executable set to
*
|
File size:
303 bytes
|
Rev | Line | |
---|
[1869] | 1 | #!/bin/sh |
---|
| 2 | |
---|
| 3 | numcrontabs=$(ls -1 /var/spool/cron | wc -l) |
---|
| 4 | if [ $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." |
---|
[1938] | 6 | logger -u /dev/log -p authpriv.info -t num-crontabs "$msg" |
---|
[1870] | 7 | echo "$msg" |
---|
[1869] | 8 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.