WARNING: You need to have a good knowledge of Linux commands before you can use cron jobs effectively. Check your script with your hosting administrator before adding a cron job. Click the Cron Jobs icon in the Advanced panel. Enter the email address where you want the cron job results sent after each time it runs. Define ..
Run the below script as root, and after waiting you will be presented with the disk usage for each email account CP_ACCOUNTS=`ls -1A /var/cpanel/users/` for user in `echo -n $CP_ACCOUNTS` do domain=`grep -i ^dns /var/cpanel/users/$user |cut -d= -f2` for dom in `echo -n “$domain”` do PASSWD_FILE=”/home/$user/etc/$dom/passwd” if [ -f $PASSWD_FILE ] && [ -s $PASSWD_FILE ] ..