For instance to send an announcement for servers supporting XEP-0133:
li ad-hoc run "<http://jabber.org/protocol/admin#announce>" -f subject "Maintenance in 30 min" -f announcement "$(<~/announces/maintenance_30.txt)" -S
Check the doc linked above, it's explained there. Ask me if you have questions.
@Goffi@debacle I think I'm looking for the opposite. I have a client that is supposed to be able to call ad-hoc commands. That's what I'm trying to test.
@debacle
Do you think we should expand the feature we support through Adhoc commands ? It would be nice to be able to do most things through the client. If client developpers are willing to push this, we are all for it !
@ejabberd@debacle@blake@prosodyim yes please, support as much as you can through ad-hoc commands, it's so useful and handy, and perfect for automatization.
Add comment