|
|
|
@ -159,7 +159,7 @@ tail -f example.log | ./go-sendxmpp -cif ./sendxmpp chat1@conference.example.com
|
|
|
|
|
Send a notification if a long running process finishes.
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
waitpid $(pidof -s rsync) && echo "Rsync finished successfully."|go-sendxmpp recipient@example.com || echo "Rsync failed."|go-sendxmpp recipient@example.com
|
|
|
|
|
waitpid $(pidof -s rsync) && echo "Rsync finished."|go-sendxmpp recipient@example.com
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### shell completion
|
|
|
|
|