From: Bruce Platt <Bruce@ei3.com>
Subject: How does one Stop cron from mailing to the user?
Date: Mon, 02 Sep 2002 12:25:02 -0400 [thread overview]
Message-ID: <9BA03E3B8AD2D311801B00508B92D2B018BD3A@MAIL> (raw)
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
reply other threads:[~2002-09-02 16:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox