Carryover or Rollover Bandwidth

HostFlight

New member
Joined
Mar 18, 2005
Messages
1
Hello,

I would like to know how I can implement a "Carryover or Rollover" bandwidth feature for my customers, where I can enable it or disable it for certain customers, and allow it to only rollover or carryover unused bandwidth for only 2 months.

Can you tell me how I can do this... or add this feature to the next release of DirectAdmin. Alot of users are requesting this feature, and they have an addon for CPanel, but I don't use CPanel obviously and I use DirectAdmin and I would like to have this feature in DirectAdmin as well as alot of other DA users.

Please get back with me ASAP about this.

Thank you,
Larry Braziel Jr
Chief Technical Officer
HostFlight.com
 
What you can do until (if that is) DirectAdmin implements such a feature is write your own script and have it executed a certain ammount of time before the bandwidth is reset and after.

What your script would do would.
Before reset
1. Collect and store usage information
2. Depending on what you want, calculate how much bandwidth each user should get (quota subtract usage)
And save it somewhere
After reset
3. Modify each users data files for DirectAdmin increasing the quota value the ammount calculated previously from where you saved it

You would then also need to setup a more advanced storage system to keep track of rollover ammounts for each month allowing you to make the necassary adjustments in the script

Overall it's possible, but not worth it. All DataCenters that I know of do not rollover bandwidth.
 
Back
Top