cron job e-mail

Michael mogmios at mlug.missouri.edu
Sat Jun 29 03:33:19 CDT 2002


You can also set your MAILTO variable to null in your crontab and it'll
stop all email output.

The girl who stoops to conquer usually wears a low-cut dress.

;):):-):):-):):-)8')
Michael McGlothlin <mogmios at mlug.missouri.edu>
http://kavlon.org/projects/

On Fri, 28 Jun 2002, Don Erickson wrote:

> In article <20020628162532.3490.qmail at web13106.mail.yahoo.com> you write:
> >Okay... silly question... How can I tell a cronjob to
> >quit e-mailing everytime it runs.
>
> My understanding is, the cron job only emails stdout or sterr output to
> the owner.  To disable this, redirect any such output to /dev/null, like
> this:
>
> * * * * * fred /usr/bin/annoying_cron_job > /dev/null 2>&1
>                                           ^^^^^^^^^^^^^^^^
>                                   This is the part to append to the line.
>
>
> Regards,
>
> -Don
>
>
>




More information about the Kclug mailing list