• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Disabling automatic updates from the commandline

MerlijnH

Basic Pleskian
Hello,

We do not wish to use the automatic update service from plesk, and always disable this function. This can be done using the interface under Settings -> Server Settings.

However as all of the other upgrade steps can easily be done without having to go into Plesk itself, I want to perform this task using the CLI or XML-RPC API. After reading the documentation a couple of times I have not been able to find this option in there, can anyone enlighten me please?

Cheers,

Merlijn
 
This feature has actually been added a while ago, and is available through the following command:

/usr/local/psa/bin/server_pref -autoupdates false
 
Back
Top