April 8, 20197 yr I use cron tasks to execute scripts which use rsync to pull files from remote servers to my Unraid box for backup purposes. This is running natively on Unraid, not via a VM. I would like to have the system send me notifications or emails if something goes wrong in my scripts. In previous versions of Unraid, I have piped messages into mail, then when that was no longer available I used the notify command - but that no longer works either? What's the best way to send notifications or emails from the CLI now?
April 9, 20197 yr My scripts continue to send emails as necessary. I'll send examples laterSent from my chisel, carved into granite
April 9, 20197 yr Author Ahh - I just found another post which used notify, but using the full path. I checked and it works! Turns out notify didn't disappear - it was just no longer in the path. /usr/local/emhttp/webGui/scripts/notify -i warning -s "rsync web1 failed" -d "/mnt/user/Backup/Logs/rsync/rsync.web1.20190410"
Archived
This topic is now archived and is closed to further replies.