Development
Executing cron tasks manually in Magento
Usually I’ve been asked about how to run a cron task manually. A cron task defined in Magento is not anything else than a function that belongs to a model that is loaded and executed. For example, we have this cron task on a config.xml file of a specific module: <catgento_sap_sync_nonimages> <schedule> <cron_expr>*/15 * * * *</cron_expr> </schedule> <run> <model>sap/cron_sync_nonimages::run</model> </run> </catgento_sap_sync_nonimages> It’s easy to identify the model and function that is being loaded and Read more…