david891 Posted April 5, 2020 Share Posted April 5, 2020 Good evening, I am having an issue with the daily Cron job. It is not completing in full. I have the message in logs that its started successfully but stops at updating product prices. It does however complete if you force it from SSH. Does anyone have any ideas why it isn't completing automatically by itself daily? The Cron.php file is set to permission 755. Many thanks, David 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted April 8, 2020 WHMCS Support Manager Share Posted April 8, 2020 Hi there, The crontab on your server could be running a different PHP configuration to the website, with the former configured with lower memory_limits or max_execution_time. This would cause the cron.php script to be killed before it can complete all tasks. This guide shows how you can identify the php configuration being used by the crontab, so you can increase those variables in the corresponding php.ini file: https://help.whmcs.com/m/automation/l/969680-identifying-the-php-ini-used-for-in-command-line-cron-engine 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.