4 ms·
Tangentially related: I frequently start long-running shell commands and go make a coffee. Is there an easy way to send a notification from my Mac to my iPhone?
by e_proxus 5y ago
Tangentially related: I frequently start long-running shell commands and go make a coffee. Is there an easy way to send a notification from my Mac to my iPhone?
You would think it would be a use case for Automator or Shortcuts but I don’t think it’s possible?
There are various apps that can do this but everyone I’ve found is very enterprise oriented and fairly expensive. I just want to send local network notifications to my phone once in a blue moon… (bonus if it would work while I’m talking a walk outside the range of my network too, but it’s not that important).
- ramraj07 5y agoThe easiest might be via slack. Dead simple to write some python with their library, and you can set up a free account for yourself.
- sgt 5y agoHe probably wants a notification. I have my Slack notifications off, so I am not constantly interrupted when not in front of a computer. I do however leave things like iMessage and HomeKit to ping me.
- ramraj07 5y agoWell, you can create your own slack domain, but yeah I don’t remember if you can configure notifications for each account separately.
- tams 5y agoI use Pushover [1] for this use case. Since it's a stateless HTTP request, Shortcuts can also use it natively. Is not enterprisey, the personal version is a one-time purchase. [1] https://pushover.net/ https://pushover.net/
- Abishek_Muthian 5y agoI second Pushover. During first wave of the pandemic the leading online grocery company in my country started slot system which opened at random times and people had to spend sleepless nights trying to see if the slot opens. I wrote a script to automate[1] this and used Pushover for notification. It was used my many and so I guess they might have gained several new customers. [1] https://abishekmuthian.com/bigbasket-slot-alert/ https://abishekmuthian.com/bigbasket-slot-alert/
- e_proxus 5y agoTurns out a free IFTTT account together with a web hook "if" trigger and a notification "then" action works like a charm. See https://help.ifttt.com/hc/en-us/articles/115010230347-Webhooks-service-FAQ https://help.ifttt.com/hc/en-us/articles/115010230347-Webhoo...
- dudleypippin 5y agoI settled on https://textbelt.com/ https://textbelt.com/ since it was cheap, a curl one-liner to use and didn't require me to install something new on my phone. % long-running-job.sh ; sms "the job is done"