How to troubleshoot WHMCS disk usage updates not working

At times WHMCS doesn’t read disk usage properly anymore, which can have devastating consequences for overuse calculations. Often, but the time you have discovered it, you have lost a lot of money and back billing isn’t an option.

Here is the quick way to troubleshoot WHMCS overuse billing not working:

Here is the command that can isolate the CRON to just usage:

/usr/bin/php8.1 -q /home/my/whmcs/crons/cron.php do --UpdateServerUsage

If you have heavy servers, and you’re testing, level the Bash up with simple date commands before and after:

root@server:~# date;/usr/bin/php8.1 -q /var/www/vhosts/whmcs/crons/cron.php do --UpdateServerUsage;date
Sat Apr 19 10:47:15 SAST 2025
Sat Apr 19 11:02:18 SAST 2025

Caveat #1. If the client has both a reseller package and a normal package defined, the usage will be noted against the reseller package.

Tags

Share this article

Leave a Reply

Your email address will not be published. Required fields are marked *