当前位置: 动力学知识库 > 问答 > 编程问答 >

php - Cron Error Job was running longer than the configured max_running_time

问题描述:

In cron_schedule table I see the cron job "execute_tasks" always ends with an error stating "Job was running longer than the configured max_running_time". I know this happens when the cron job runs longer than the setting "Missed if Not Run Within" which I have set to 120 minutes. Why does the "execute_tasks" job end with an error? 2 hours seems like plenty of time. We have the cron.php set to run every 1 minute.

Please let me know if you have any ideas. Thank you!

网友答案:

This message may appear if you installed Magento module "AOE Scheduler".

This means that your php value of "max_execution_time" has a low value, you'll need to ask to your host provider to increment this value.

Also you may try make bigger value of "memory_limit".

分享给朋友:
您可能感兴趣的文章:
随机阅读: