Can't redirect cron output

Daniel Pittman daniel at rimspace.net
Sun Oct 26 23:16:46 UTC 2008


Michael Hipp <Michael at Hipp.com> writes:

> This worked fine on all my systems but stopped at Gutsy. Hardy and
> Intrepid both have the problem also: cron output can't be redirected.
>
> Here's what used to work:
>
>    # Fetch mail for michael
>    */10 02-23   * * *   michael   fetchmail &> /dev/null
>
> This is in the "system" cron at /etc/crontab.
>
> I don't want to get an email if the fetchmail command fails; just be
> silent.

What you almost certainly want to solve your actual problem is:

  */10 ... fetchmail --silent

[...]

> How can I get redirection working again?

Others have already answered this. :)

Regards,
        Daniel





More information about the ubuntu-server mailing list