When a user has an entry in their crontab, a mail message is sent to that
user each time the job runs.
I can set an alias of the form "user: /dev/null" in the aliases file, but
I just want to stop cron from sending the message on job completion, not to
stop all mail to the user. Setting MAILTO=/dev/null in the crontab doesn't
work.
Using the alias file also results in cluttering up the mail log.
I could, of course, set up a "phantom" user to run the cron job, so that the
real user gets non-cron mail, but I'd like the "perfect solution", i.e.,
having cron not send mail on job completion.
Any suggestions appreciated. I will summarize.
Regards
Received on Mon Sep 02 2002 - 16:25:17 NZST