|
Debian/Lenny - user cron jobs sending status e-mails
Some time ago I lost e-mail send capability on a remote server - probably when I upgraded to Lenny. Yesterday I finally got around to visiting it and got the capability back (the router has a dynamic IP address so I needed to find out what it was to connect remotely - I have a job on the server that had been e-mailing me when it changed).
Anyway, I'm now getting an e-mail message each time a cron job completes. Now I appreciate getting error messages sent to me, but is there a way I can turn off e-mail when a job terminates normally?
Specifically I have three jobs that are run as root through crontab (in addition to the anacron jobs Debian places there, which are also run as root). One runs hourly so I'm getting 24 e-mails a day telling me that it worked. The other two are run overnight once per day, so they are not so annoying but one already sends me e-mails when it fails, while the other I don't care if it succeeded or not.
|