Receive notifications on your phone when your CLI tasks complete.
sleep 3; notifier "Sleep task completed."
rsync -avz . philippe@my-server:"/media/philippe/"; notifier "Rsync done."
- Download the Alertzy app to receive the notifications on your iPhone.
- Save the Alertzy key in your bashrc/zshrc:
export ALERTZY_KEY="blabla"
Download the script
wget https://raw.githubusercontent.com/philipperemy/notifier/master/notifier && chmod +x notifier
Test it
sleep 3 && notifier "Sleep task done"
Install it
mkdir ~/bin && cp notifier ~/bin
export PATH="~/bin:$PATH" # add it to your bashrc/zshrc.
notifier "OK"