We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use sendxmpp and tail -F
sendxmpp
tail -F
The text was updated successfully, but these errors were encountered:
#!/bin/bash set -x function say() { echo "$1" | sendxmpp --tls --tls-ca-path /etc/ssl/certs/ [email protected] # Failure injection and testing #echo "$1" #return $((RANDOM % 2)) # failure injection } export -f say function say_retrying() { for x in `seq 1 10` do say "$@" && break date echo "Retrying transmission of $@" sleep 60 done } export -f say_retrying xargs -n1 -d'\n' -I {} bash -c 'say_retrying "$@"' _ {}
tail -F -n0 /var/log/jabber/prosody.err | grep '^[A-Z]' | buffer | ~/log_to_sendxmpp.sh
Sorry, something went wrong.
TODO:
No branches or pull requests
use
sendxmpp
andtail -F
The text was updated successfully, but these errors were encountered: