Justin Lok
Justin Lok

Reputation: 1270

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!

Upvotes: 1

Views: 1538

Answers (1)

Sergey Shadrin
Sergey Shadrin

Reputation: 21

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".

Upvotes: 2

Related Questions