AOEpeople / Aoe_Scheduler

Cron Scheduler Module for Magento
http://fbrnc.net/blog/2011/03/magento-cron-schedule
GNU General Public License v3.0
373 stars 203 forks source link

Constant 'Too late for the schedule' on Turpentine crawling tasks #41

Open oharlem opened 10 years ago

oharlem commented 10 years ago

Hi,

We have Varnish running with support by Nexcess Turpentine module. However cannot make its crawler running - cron throws errors saying:' Cron error while executing turpentine_crawl_urls:

exception 'Mage_Code_Exception' with message 'Too later for the schedule.' in .../app/Mage.php:595 etc.

Thank you!

fbrnc commented 10 years ago

Hi,

to me this sounds like your cron is not configured to run correctly. Please make sure cron.sh is called at least every 5min and Magento is configured correctly to generate the schedule correctly.

The "Too late for the schedule" error message occurs when the scheduler detects a job that was supposed to run in the past (before a given threshold) but hasn't been started yet. In this case it's going to be skipped with this message.

Cheers, Fabrizio

angelflo commented 10 years ago

Hi Fabrizio,

Thanks a lot for your excellent extension !

Please can you tell me what's the best configuration in magento > configuration > system I need to apply if my cron.php job run every 5 mins. I have the same problem than "dopgm" with error too late for the schedule since I installed new extension who add another cron to the list of magento cronjob.

fbrnc commented 10 years ago

I've added an FAQ item: https://github.com/AOEpeople/Aoe_Scheduler/blob/task_records/doc/faq.md#im-getting-too-late-for-the-schedule-errors Let me know if this helps.

Have a great day, Fabrizio

jaseclamp commented 9 years ago

Hi is this FAQ still available somewhere?

fbrnc commented 9 years ago

Hi,

yes, here's the faq: https://github.com/AOEpeople/Aoe_Scheduler/blob/master/doc/faq.md And here's the rest of the (incomplete) documentation: https://github.com/AOEpeople/Aoe_Scheduler/blob/master/readme.md

Let me know when you're stuck. I'm happy to add documentation on the fly...

Cheers, Fabrizio