Notify on Exit (NOE)
Have you ever wanted an SMS notification when a particular command exits? Notify on Exit can help!
$ noe -r 'node import.js'
In this example
noe will run
node import.js and notify the configured recipient of the exit code.
Note: if you are running a command with 1 or more arguments it must be wrapped in quotes.
- Twilio account
- Twilio phone number
$ sudo npm install noe -g
The first time you run
noe it will ask you to enter your Twilio SID, Twilio auth token, Twilio phone number and recipient phone number(s), which will be saved into .noe-config.json of your home directory.
It is recommended to test your config file before using
noe, simply run
You may edit the config file directly or run
noe --init to initialize a new config file.
||output usage information|
||output the version number|
||Initiate new config file|
||Send test message|
||Command to exacute and watch|
||Phone number(s) to notify (comma separated)|
||Custom label for task|