Jump to content

Daily Cron not competing in full


Recommended Posts

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

Link to comment
Share on other sites

  • WHMCS Support Manager

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated