From b265b40d0581be9f59fe778ac5db262847917385 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Wed, 4 Aug 2021 15:33:28 -0400 Subject: Add twilio-cli quescript --- Biz/Que/Quescripts.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'Biz/Que/Quescripts.md') 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 --to --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 -- cgit v1.2.3