[NTLUG:Discuss] Cron
Tom Hoover
l-ntlug at hisword.net
Mon Apr 19 13:54:03 CDT 2004
On Mon, Apr 19, 2004 at 10:54:58AM -0500, Scott Hollomon wrote:
> There are user crontab files in /var/spool/cron, but there is no MAILTO line
> in those files. Is the answer as simple, as suggested in another post above,
> as putting a >/dev/null at the end of each line in the user files I don't
> want to get mail about?
Or, you can define an "empty" MAILTO, if you don't wish to receive any
email from the associated crontab file.
From 'man5 crontab':
If MAILTO is defined (and non-empty), mail is sent to the user so named.
If MAILTO is defined, but empty (MAILTO=""), no mail will be sent.
Otherwise mail is sent to the owner of the crontab.
More information about the Discuss
mailing list