Neil Bothwick wrote: > 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. > >
I left the last bit off as well. I just put in the null part. I may do something to force it to screw up, like umount the drive, and see what it does. To be honest tho, I just wanted the emails to stop for that script. I have other backups anyway, just not as frequent. Dale :-) :_)