• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

disable "allow overuse"

A

Ali Raza

Guest
How I disable "allow overuse" for all 900 domains at once?
 
Hi,

You can use the CLI utility for that -- domain_pref with "overuse" option. Here's the guide:
http://download1.parallels.com/Plesk/PPP9/Doc/en-US/plesk-9.2-unix-cli/index.htm?fileName=37982.htm

List of all domain for script you can get, for instance, from the "domains" table in plesk database.

Something like this should get the job done in one command:

mysql -Ns -uadmin -p<plesk_admin_password_here> psa -e "select name from domains" | awk '{printf("/usr/local/psa/bin/domain_pref --update %s -overuse block\n", $1)}' | sh
 
Back
Top