On Fri, 2009-10-02 at 20:45 +0300, Jari Fredriksson wrote:

> Sendmail command is available with sendmail and postfix emailers,
> dunno about others.
>
You don't need to use sendmail: if the cron job writes anything to
stdout (or stderr) this is automatically mailed to root. 

If you'd rather that mail sent to root comes to you instead, just add a
redirection line to /etc/aliases. Don't forget to regenerate the aliases
database by running 'aliases' or your redirection won't take effect.


Martin



Reply via email to