cron job e-mail
Don Erickson
derick at shark.zeni.net
Sat Jun 29 00:53:12 CDT 2002
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