Subject: Re: Stop cron from mailing to root
To: None <netbsd-help@netbsd.org>
From: Randy Beaudreault <maccult@pacbell.net>
List: netbsd-help
Date: 11/01/2002 10:21:36
>On Thursday 31 October 2002 22:54, Carlo Smith wrote:
>> Hi,
>>
>> Cron sends emails to confirm it performed tasks, how can I select what
>> messages to mail and what not?
>
>Before each line make a decision as to who to mail the output of the line to,
>and then set:
>
>MAILTO="username"
>
>... for a user, or:
>
>MAILTO=""
>
>... to drop it on the floor.
These are put on a line before each executed line like this:
MAILTO="username"
41 1 * * * ntpdate time.apple.com
--
Randy
OS X - UNIX for the rest of us
NetBSD - Catch the Power!