Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Send notifications or email via CLI?

Featured Replies

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?

My scripts continue to send emails as necessary. I'll send examples later

Sent from my chisel, carved into granite

  • 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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.