Hi,
I have a billing system that i use to bill by customers and i am in the process of making it check all the accounts on a server to find out how much disk space and traffic each user has used in the month.
Im just wondering when is the best time to read this data from DA.
Im guessing that DA counts up the bandwidth until the last day of the month and then resets the stats for the 1st.
Can anyone tell me when *exactly* the stats get reset. (ie, midnight, 3am, etc)
The idea being so that i can setup a cronjob on the server that holds the billing system to collect the data from the DA servers about half an hour before the data gets reset.
Cheers to any who reply.
- James
I have a billing system that i use to bill by customers and i am in the process of making it check all the accounts on a server to find out how much disk space and traffic each user has used in the month.
Im just wondering when is the best time to read this data from DA.
Im guessing that DA counts up the bandwidth until the last day of the month and then resets the stats for the 1st.
Can anyone tell me when *exactly* the stats get reset. (ie, midnight, 3am, etc)
The idea being so that i can setup a cronjob on the server that holds the billing system to collect the data from the DA servers about half an hour before the data gets reset.
Cheers to any who reply.
- James