I have big problems with cron Magento 1.9.1, hoping someone can help. I have AOE installed and my heartbeat is not visible.
I added my cron job
*/5 * * * * /bin/sh /var/sites/p/domain/public_html/cron.sh
But it still does not work, so I decided to try and run cron.php, it does nothing. This is my cron for this
*/5 * * * */usr/bin/wget -O /dev/null -o /dev/null http:
Based on Magneto 1.8 cron.php, I added the following to cron.php.
$isShellDisabled = true;
Based on this, it still does not work, I tried cron.php in the browser. I get an error in the browser that is disabled by default for printing for security reasons.
So, I changed my php.ini to memory_limit = 512M just by unlocking. This still does not work.
The error I get in my reports for this is:
a:5:{i:0;s:59:"Mage registry key "_singleton/cron/observer" already exists";i:1;s:537:"#0 /var/sites/p/domain.co.uk/public_html/app/Mage.php(223): Mage::throwException('Mage registry k...') #1 /var/sites/p/domain.co.uk/public_html/app/Mage.php(477): Mage::register('_singleton/cron...', false) #2 /var/sites/p/domain.co.uk/public_html/app/code/core/Mage/Core/Model/App.php(1316): Mage::getSingleton('cron/observer') #3 /var/sites/p/domain.co.uk/public_html/app/Mage.php(448): Mage_Core_Model_App->dispatchEvent('default', Array) #4 /var/sites/p/domain.co.uk/public_html/cron.php(74): Mage::dispatchEvent('default') #5 {main}";s:3:"url";s:9:"/cron.php";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:5:"admin";}
Any help would be really great.
Note ** I changed the domain name to DOMAIN due to the fact that my site is not suitable for work.
source share