updateset
Sets the autotupdate configuration
updateset
Description
Sets the autoupdate configuration. The parameters are the session_id
, followed by a comma-separated list of key-value pairs, in the format key=value
. The available keys are:
- source: url used to fetch updates.
- timeout: number of minutes to trigger the
on_timeout
action. - on_startup: the action to execute on startup.
- on_timeout: the action to take on timeout.
- on_user: the action to trigger for manual user intervention.
The "action", on all cases, must either off
(do nothing), download
(only download updates), apply
(only apply previously-downloaded updates) or full
(download and apply; this is the default).
Providing an invalid key is an error, but a invalid action value will be interpreted as full
, which is the default. You can specify only the keys you want to change, and it can be done in any order.
The current autoupdate configuration can be seen on the config command.
Note: If autosave is disabled, this command will always fail.
Command
Examples
In the example below, all triggers are set to off
, essentially disabling auto update:
Parameters
Parameter | Notes |
---|---|
session_id | A valid session ID. See Session Management for details. |
params | List of key-value parameters to change. |