molesza Posted April 28, 2017 Share Posted April 28, 2017 I have my own backup script running on unraid that starts each time the server starts. Works great. What I would like to do is have a pushover notification sent to my phone at the end of the script that sends me a message saying "Backup finished" Can anyone tell me what command I would put in my script to do that? Quote Link to comment
bonienl Posted April 28, 2017 Share Posted April 28, 2017 # /usr/local/emhttp/webGui/scripts/notify notify [-e "event"] [-s "subject"] [-d "description"] [-i "normal|warning|alert"] [-m "message"] [-x] [-t] [add] create a notification use -e to specify the event use -s to specify a subject use -d to specify a short description use -i to specify the severity use -m to specify a message (long description) use -x to create a single notification ticket use -t to force send email only (for testing) all options are optional notify init Initialize the notification subsystem. notify smtp-init Initialize sendmail configuration (ssmtp in our case). notify get Output a json-encoded list of all the unread notifications. notify archive file Move file from 'unread' state to 'archive' state. 1 Quote Link to comment
molesza Posted April 28, 2017 Author Share Posted April 28, 2017 So helpful! Thank you very much! Quote Link to comment
rutherford Posted January 30, 2021 Share Posted January 30, 2021 Not sure how this talks with Pushover, I assume you're talking about https://pushover.net/ for phone notifications? But I am interested! Getting a script running and I'd like an active notification. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.