|
|
|
|
|
by davidbanham
3283 days ago
|
|
I call this blingle. I call it after any long running operation that I want to be notified of. It pops a desktop notification and sends a push message to my phone. eg: make deploy; blingle #!/bin/bash MSG=${@:-"Job complete"} notify-send "$MSG" curl -s \ --form-string "token=TOKEN" \
--form-string "user=UID" \
--form-string "message=$MSG" \
https://api.pushover.net/1/messages.json
|
|