Set quota – Virtualmin script
| |Perl script that sets the quota for all domains to the values configured in Virtualmin.
If the quotas are lost for some reason the script will set them back to the correct value. I had some problems that the quotas will be lost for some accounts on reboot of the server and this script will set the quotas to the correct values.
Instructions Note: The script will look in this folder for the domain configuration files: /etc/webmin/virtual-server/domains/ Run the script as a nightly cron job with the command: Technology and design Perl script that uses configuration files in Virtualmin to find out the quota for each account.
perl /root/script/quota_set_all.pl