This function modifies a server's /etc/cpupdate.conf
file. This file controls how the server handles software updates and upgrades.
Important:
You must have the root
level Access Control List (ACL) privilege to execute this function.
string or string or string The cPanel & WHM installation's release tier, or a valid version number. If you do not use this parameter, the system retains the current setting.
New installations default to RELEASE. Example: CPANEL=RELEASE | |
string or string The frequency with which the server updates the operating system distribution's packages each time that the If you do not set this parameter, the system retains the current setting.
Example: RPMUP=daily | |
string or string The frequency with which the server updates Apache SpamAssassin's™ rules when the If you do not set this parameter, the system retains the current setting.
Example: SARULESUP=daily | |
STAGING_DIR | string The absolute directory path to the staging directory for updates. If you do not set this parameter, the system retains the current setting. Example: STAGING_DIR=/usr/local/cpanel |
string or string When the system will check for updates. If you do not set this parameter, the system retains the current setting.
Example: UPDATES=daily |
HTTP Request was successful.
object |
whmapi1 --output=jsonpretty \ update_updateconf
{- "metadata": {
- "command": "update_updateconf",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}