• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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