The setting of the running status in the cron_schedule table in Magento 1.4 is not working correctly. The code in Magento 1.4 is not 100% correct. Create a local copy of Mage_Cron_Model_Observer and take a look at the dispatch function:…
Configuring and running cron jobs (Magento 1)
To add and run a Magento cron job in your module, add the following XML to your modules config.xml:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
<config> <crontab> <jobs> <some_unique_job_code> <schedule> <!-- every minute for example --> <cron_expr>*/1 * * * *</cron_expr> </schedule> <run> <model>module/observer::functionToRun</model> </run> </some_unique_job_code> </jobs> </crontab> </config> |
Thats the first step. Once that was done, you have to manually or automatically run cron.php. Its in your stores…