Answered by the Webhosting Experts

Make diskuage, bandwidth and webalizer stats update more frequently

Cron is the tool used to control the update frequency of the stats. You can easily change the frequency by modifying the cron job.

Cron file for RedHat: /etc/cron.d/directadmin_cron
Cron file for FreeBSD: /etc/crontab

Edit the cron file and locate the line that looks like the following:

10 0 * * * root echo ‘action=tally&value=all’ >> /usr/local/directadmin/data/task.queue
That means that the tally will be run 10 minutes after midnight every day.

If you’d like to (for example) run the tally every 4 hours, you’d change it to:

10 */4 * * * root echo ‘action=tally&value=all’ >> /usr/local/directadmin/data/task.queue

One important thing to remember is that for very large servers, with upwards of 1000 domains, the tally can take a significantly long time to run (up to 2 hours), so if you run a large server, you may not want to run the tally too often.

Once you’ve set the value you want, save the file and reload the cron daemon by runnin the command:

killall -HUP crond

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your my.hivelocity.net account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your my.hivelocity.net account or if you are on the go, please reach out from your valid my.hivelocity.net account email to us here at: support@hivelocity.net. We are also available to you through our phone and live chat system 24/7/365.