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 202 forks source link

Cache referesh error #373

Open SpeleanAU opened 6 years ago

SpeleanAU commented 6 years ago

HI, I'm new to Magento and Cron, and I've installed the Aoe Scheduler, but am now getting the following error, any suggestions would be great. Thanks.

Cron error while executing Caching_refresh_cache:

exception 'Mage_Core_Exception' with message 'Invalid callback: Model for Caching/observer::refreshCache does not exist' in /var/www/cms/outdoorestore/production/htdocs/app/Mage.php:595 Stack trace:

0 /var/www/cms/outdoorestore/production/htdocs/app/code/community/Aoe/Scheduler/Helper/Data.php(316): Mage::throwException('Invalid callbac...')

1 /var/www/cms/outdoorestore/production/htdocs/app/code/community/Aoe/Scheduler/Model/Job.php(145): Aoe_Scheduler_Helper_Data->getCallBack('Caching/observe...')

2 /var/www/cms/outdoorestore/production/htdocs/app/code/community/Aoe/Scheduler/Model/Schedule.php(213): Aoe_Scheduler_Model_Job->getCallback()

3 /var/www/cms/outdoorestore/production/htdocs/app/code/community/Aoe/Scheduler/Model/Schedule.php(623): Aoe_Scheduler_Model_Schedule->runNow(true)

4 /var/www/cms/outdoorestore/production/htdocs/app/code/community/Aoe/Scheduler/Model/Observer.php(39): Aoe_Scheduler_Model_Schedule->process()

5 /var/www/cms/outdoorestore/production/htdocs/app/code/core/Mage/Core/Model/App.php(1357): Aoe_Scheduler_Model_Observer->dispatch(Object(Varien_Event_Observer))

6 /var/www/cms/outdoorestore/production/htdocs/app/code/core/Mage/Core/Model/App.php(1336): Mage_Core_Model_App->_callObserverMethod(Object(Aoe_Scheduler_Model_Observer), 'dispatch', Object(Varien_Event_Observer))

7 /var/www/cms/outdoorestore/production/htdocs/app/Mage.php(448): Mage_Core_Model_App->dispatchEvent('default', Array)

8 /var/www/cms/outdoorestore/production/htdocs/cron.php(78): Mage::dispatchEvent('default')

9 {main}