[NTLUG:Discuss] Cron
Scott Hollomon
scott at collinstreet.com
Mon Apr 19 14:10:12 CDT 2004
On Mon April 19 2004 1:54 pm, Tom Hoover wrote:
> 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.
Thanks for the pointer I had MAILTO= instead of MAILTO="".
--
Scott Hollomon
Treasurer
Collin Street Bakery, Inc.
401 W. 7th Avenue
Corsicana, TX 75110
phone 903.654.6675
fax 903.654.6767
scott at collinstreet.com
More information about the Discuss
mailing list