crond, the cron daemon, writes entries into
/var/log/cron and that
crond has optional logging levels, 1 being lots of stuff, 5 (the default) being not much at all.
Level 5 is
notice (
crond is started with
-l notice); if you change that to starting
crond with
-l info you'll get much of what you probably are interested in.
The levels (from the
crond manual page) are
alert,
crit,
debug,
emerg,
err,
error (deprecated synonym for
err),
info,
notice,
panic (deprecated synonym for
emerg),
warning,
warn (deprecated synonym for
warning).
The log entries will tell you much of what you're interested in knowing (and a whole lot that you're most likely not interested in) and a little
awk program might be useful for filtering out what you don't want to know. I don't know of a specific application for doing this but it's pretty simple to just change the logging level and keep an eye on the log.
To change the logging level, locate the script in your system start up directory (such as
/etc/rc.d,
/etc/rcn
.d) -- it'll look something like this:
Code:
# Start crond (Dillon's crond):
# If you want cron to actually log activity to /var/log/cron, then change
# -l notice to -l info to increase the logging level.
if [ -x /usr/sbin/crond ]; then
/usr/sbin/crond -l notice
fi
and change the
notice to, say,
info. You'll probably need to reboot (easy) or stop and restart
crond (run
ps -ef | grep crond to get the PID,
kill -9 and PID number, and start
crond with
/usr/sbin/crond -l info).
See the manual pages for
crond,
logger(1), and
syslog(3).
Give it try and see what you get.
Hope this helps some.