View Full Version : More about bandwidth!
jeffery
02-28-2004, 07:28 AM
I want to ask if the user's bandwidth will be updated per month or ....?
since they will be suspended when the limit exceeded!
I want to have their account automatically unsuspended after another month...!
l0rdphi1
02-28-2004, 08:49 AM
I'm not sure, but I *think* any users suspended for exceeding their bandwidth limit will be unsuspended when bandwidth is reset (on the 1st of any month).
jeffery
02-28-2004, 08:55 AM
The bandwidth will be reset on the first day of the month?
Ha, I just know this~
Thanks for your notice~! :D
l0rdphi1
02-28-2004, 08:59 AM
Originally posted by jeffery
The bandwidth will be reset on the first day of the month?Yes, that I am sure of. It's the other bit --the unsuspending of users-- that I'm not so sure about :)
jeffery
02-28-2004, 09:01 AM
Let me try to suspend an user and wait for 1 March~
l0rdphi1
02-28-2004, 09:03 AM
Or wait for someone more knowledgeable :D
Though, go a head, if you like, sure won't hurt anything :)
jeffery
02-28-2004, 09:11 AM
Don't worry~
I will create a dummy account to test it!~
I am not a monster! :D
DirectAdmin Support
02-28-2004, 06:14 PM
Ah yes, good question. That took me quite a bit of tinkering to get the way I wanted :). Here's how it works:
If a users goes over his bandwidth limit, he's suspended.
If a Reseller suspends a user he's suspended (duh).
now, for the fun part.
If the user was suspended because of banwidth, he'll be unsusepended the when everything is reset at the beginning of the month.
If the user was suspended by the Reseller, then it's assumed that the Reseller wants him suspended, so he'll stay suspended until the Reseller unsuspends him.
For any technical people, the "account=ON" value in the user.conf files is used to figure out if the Reseller did it, or the bandwidth did it. If the Reseller did it, it will be set to OFF, and the reset won't unsuspend the account.
:)
John
l0rdphi1
02-28-2004, 06:17 PM
Ah, I see. Thanks for the calcification :)
jeffery
02-28-2004, 08:45 PM
O~ I See~
Very interesting~
Thanks John!
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.