Pushover Notifications from Script


Recommended Posts

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?

Link to comment
# /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.

 

  • Like 1
Link to comment
  • 3 years later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.