Last active
October 10, 2018 07:28
-
-
Save radub/7c20c2ed8a1423112c1aa1870eb17bc2 to your computer and use it in GitHub Desktop.
Run specific Magento 1.x cron manually
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//Load Magento API | |
require_once 'app/Mage.php'; | |
Mage::app(); | |
//First we load the model | |
$model = Mage::getModel('module_identifier'); | |
//Then execute the task | |
$model->run(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment