WHMCS Cronjob Not Running On Ubuntu
My issue was the user with the cronjob did not have access to run the cronjob php file. So, I needed to make the new cronjob for the correct user.Solution:
- Find out the owner of your apache process (usually www-data).
- Look at the top of the "Automation Settings" page in your WHMCS admin area. It should say something like: php -q /var/www/whmcs/admin/cron.php (keep this handy for step 4)
- In terminal run: crontab -e -u www-data
- Ensure you have a line that says:
0 6 * * * php -q /var/www/whmcs/admin/cron.php (note: this should be the same file path you got for your own install in step 2)