mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-26 05:49:27 +01:00
doc/Commands: fix links
This commit is contained in:
parent
614d45a938
commit
eaf62c5b8a
@ -174,12 +174,12 @@ Any command can be flagged to be executed as a background process. For example,
|
|||||||
make a Plugin that has a command that may potentially take a long time to complete, which could
|
make a Plugin that has a command that may potentially take a long time to complete, which could
|
||||||
cause PBot to be non-responsive...
|
cause PBot to be non-responsive...
|
||||||
|
|
||||||
Not a problem! You can use the [`cmdset`](doc/Admin.md#cmdset) command to set the `background-process` [command metadata](doc/Admin.md#command-metadata-list)
|
Not a problem! You can use the [`cmdset`](Admin.md#cmdset) command to set the `background-process` [command metadata](Admin.md#command-metadata-list)
|
||||||
and the command will now run as a background process, allowing PBot to carry on with its duties.
|
and the command will now run as a background process, allowing PBot to carry on with its duties.
|
||||||
|
|
||||||
The familiar [`ps`](doc/Admin.md#ps) and [`kill`](doc/Admin.md#kill) commands can be used to list and kill the background processes.
|
The familiar [`ps`](Admin.md#ps) and [`kill`](Admin.md#kill) commands can be used to list and kill the background processes.
|
||||||
|
|
||||||
You can also [`cmdset`](doc/Admin.md#cmdset) the `process-timeout` [command metadata](doc/Admin.md#command-metadata-list) to set the timeout, in seconds, before the command is automatically killed. Otherwise the `processmanager.default_timeout` [registry value](doc/Registry.md) will be used.
|
You can also [`cmdset`](Admin.md#cmdset) the `process-timeout` [command metadata](Admin.md#command-metadata-list) to set the timeout, in seconds, before the command is automatically killed. Otherwise the `processmanager.default_timeout` [registry value](Registry.md) will be used.
|
||||||
|
|
||||||
## Types of commands
|
## Types of commands
|
||||||
There are several ways of adding new commands to PBot. We'll go over them here.
|
There are several ways of adding new commands to PBot. We'll go over them here.
|
||||||
|
Loading…
Reference in New Issue
Block a user