On Wed, 7 Apr 2021 03:22:18 -0500, Dale wrote:

> >> This seems to be working.  Since I added the null bit to the script
> >> itself, it hasn't sent a email.  I don't know if it will if it fails
> >> but I still have weekly backups as well.   
> > If you only redirect stdout to /dev/null and leave stderr alone, you
> > should still see errors. But a better option would be to have your
> > script only send output when something goes wrong.

> That sounds complicated.  I've never been good at what y'all call
> scripting.  I'm just glad it does it for me so I don't forget. 

Not really. ">/dev/null" redirects stdout to null. You added 2>&1, which
redirects stderr to stdout, effectively throwing away any error messages.
Post your backup script and we'll be able to help more.


-- 
Neil Bothwick

WinErr 815: Insufficient Memory - Only 50,312,583 Bytes available

Attachment: pgpBVLFfZkuHs.pgp
Description: OpenPGP digital signature

Reply via email to