On Mon, 27 Jan 2020, John Jason Jordan wrote:

I've read online all kinds of advice, but none succeed. The closest I've
gotten is:

# <rsync command here> | mail -s "Home is backed up" myusern...@gmx.com

Which gives the error message 'mail: cannot send message: Broken pipe.'

John,

Try putting these three lines in your cron script:

MAILTO=myusern...@gmx.com
TS=`date`
...
echo "$TS - Home Backup Completed" | mail $MAILTO

HTH,

Rich
_______________________________________________
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to