View Full Version : Resetting bandwidth stats
Sp-tech
04-30-2004, 10:10 AM
Hi all,
Say you setup a client that will do 20 gigs of bandwidth/month.
In the system you enter 20000 mb for bandwidth..
How do you reset the bandwidth used to 0 at end of every month?
l0rdphi1
04-30-2004, 10:12 AM
DirectAdmin should automatically reset your client's bandwidth back to zero on the 1st of every month.
jeffery
04-30-2004, 10:25 AM
You may also do a manual cron job to reset all/one account(s)!
l0rdphi1
04-30-2004, 10:28 AM
Yes, to reset a single account, run:
echo 'action=reset&value={username}&type=user' >> /usr/local/directadmin/data/task.queue
Or to reset all accounts, run:
echo 'action=reset&value=all' >> /usr/local/directadmin/data/task.queue
Sp-tech
04-30-2004, 11:55 AM
thanks guys
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.