GUNBOT: The automatic profit generator > General Discussion
[LINUX] Notify your phone from the terminal.
(1/1)
AlfonseX:
Hello,
I'm just discovered Notify: https://mashlol.github.io/notify/. What is it?
Installation
notify is written with node, so you can install with npm.
--- Code: ---$ npm install -g notify-cli
--- End code ---
or for me
--- Code: ---$ sudo npm install -g notify-cli
--- End code ---
Usage
Using notify is simple. When you download the app to your phone (https://play.google.com/store/apps/details?id=com.kevinbedi.notify), it will give you a registration key. This key is how your phone is identified by notify. Before you can begin using notify, you should first register your key.
--- Code: ---$ notify -r myKey
--- End code ---
After registering, you can use notify as follows:
--- Code: ---$ someLongRunningCommand ; notify
--- End code ---
You will receive a push notification to your phone when the command has completed, regardless of whether or not it was successful.
You can also specify what the notification will say, like this:
--- Code: ---$ notify -t "My custom message"
--- End code ---
Imagine all the possibilties.
I's a KISS program. That's it!
Navigation
[0] Message Index
Go to full version