A feature already exists called "Unsuspending All Bandwidth Exceeded" (aka unsusbwall).
It would be beneficial to be able to unsuspend bandwidth exceeders on an individual domain or username basis.
Of course, you would also need to be able to reset the bandwidth counter, otherwise the account would simply be suspended again next time it is checked.
I am on the understanding that the bandwidth counter can be reset by doing the following:
echo -n 0 > /var/cpanel/bandwidth.cache/$domain
However, I seem to be unable to "unsuspend" the bandwidth exceeder using the following:
unsuspendacct $user
I'd like to see this feature in WHM, however I'll settle for a solution now if anyone has one.
Thanks.
Update: I see /var/cpanel/bwlimited has the bandwidth limited domains.



LinkBack URL
About LinkBacks
Reply With Quote




