I would like to manually reset some cpanel data transfer

postcd

Well-Known Member
Oct 22, 2010
717
19
68
Hello, how to reset single cpanel account data transfer for current month?

I found this advice:
To do this, go to /var/cpanel/bandwidth/. You will see many files beginning with that user's username. Just delete those files.

Now go to /var/cpanel/bandwidth.cache/ and also delete the files that begin with that user's username.
then someone adviced:
the stats will only reflect it once they update as per your stats schedule, unless you manually invoke the stats process.
please which command to use to invoke the stats process (preferably for that one single cpanel)? thank you

Following 2 commands resetted cpanel account "abababa" data transfer:
for i in $(ls /var/cpanel/bandwidth/ | grep abababa);do mv $i /tmp/;done
/scripts/runweblogs abababa
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,211
363
Hello :)

You can manually update the statistics for an account via a command such as:

Code:
/scripts/runweblogs $username
Thank you.