* How does one Stop cron from mailing to the user?
@ 2002-09-02 16:25 Bruce Platt
0 siblings, 0 replies; only message in thread
From: Bruce Platt @ 2002-09-02 16:25 UTC (permalink / 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-09-02 16:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-02 16:25 How does one Stop cron from mailing to the user? Bruce Platt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox