diff options
author | Ben Sima <ben@bsima.me> | 2021-08-04 15:33:28 -0400 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2021-11-26 13:47:37 -0500 |
commit | b265b40d0581be9f59fe778ac5db262847917385 (patch) | |
tree | e379db6da8199f95f5ea5a26c41fe81fcad9664b | |
parent | 202d63fd1ddebf0a37c4cc7912c4e3f457d59342 (diff) |
Add twilio-cli quescript
-rw-r--r-- | Biz/Que/Quescripts.md | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/Biz/Que/Quescripts.md b/Biz/Que/Quescripts.md index 8e4399e..fe0c3dc 100644 --- a/Biz/Que/Quescripts.md +++ b/Biz/Que/Quescripts.md @@ -23,12 +23,25 @@ Linux with title "`pub/notify`" and content "`tests are done`". Que paths are multi-producer and multi-consumer, so you can add as many terminals as you want. +### On macOS + On macOS you could use something like this (just watch your quotes): - osascript -e "display notification \"{msg}\" with title \"{que}\"" + osascript -e "display notification '{msg}' with title '{que}'" in place of notify-send. +### With twilio-cli + +Or, if you want SMS notifications, you can use +[twilio-cli](https://www.twilio.com/docs/twilio-cli/quickstart): + + que pub/notify --then "twilio api:core:messages:create --from <phone1> --to <phone2> --body '{que}: {msg}'" + +I personally have this running at all times on my desktop so I can walk away +from a long-running job, and as long as I have my phone with me, I will know +when it completes. + ## Ephemeral, serverless chat rooms coming soon |