10 Oct
2007
10 Oct
'07
9:59 a.m.
On Wed, Oct 10, 2007 at 09:47:34AM +0100, Jenny Hopkins wrote:
Hullo there,
I'm trying to prevent a very simple script in cron.hourly from sending mail when it executes.
The script consists of
mount -a > /dev/null
I hoped the output would be directed to a black hole, but it sends a mail every hour as below.
Try: mount -a > /dev/null 2> /dev/null The > redirects standard output, the 2> redirects standard error, which is probably where your errors are going to. J. -- Web [ You non-conformists are all alike. ] site: http:// [ ] Made by www.earth.li/~noodles/ [ ] HuggieTag 0.0.23