doc/Admin.md: improvements

This commit is contained in:
Pragmatic Software 2020-03-08 18:11:05 -07:00
parent 5c0881cd35
commit 340e31acb2
1 changed files with 10 additions and 2 deletions

View File

@ -562,12 +562,20 @@ For example, to schedule a command to run 1 hour from now:
<PBot> Ta-da!
The `remove` command's `<event>` argument can include wildcards of the form `.*` or `.*?`. For example,
to remove all `command` events, you can simply do:
The `remove` command's `<event>` argument can include wildcards of the form `.*`. For example,
to remove all `command` events:
<pragma-> eventqueue remove command .*
<PBot> Removed 1 event.
Or to remove all `command` events in `#channel`:
<pragma-> eventqueue remove command #channel .*
Or to remove all events in `#channel`:
<pragma-> eventqueue remove .* #channel .*
## Process management commands
### ps
Lists all currently running background processes.