Skip to content

Instantly share code, notes, and snippets.

@radub
Last active October 10, 2018 07:28
Show Gist options
  • Save radub/7c20c2ed8a1423112c1aa1870eb17bc2 to your computer and use it in GitHub Desktop.
Save radub/7c20c2ed8a1423112c1aa1870eb17bc2 to your computer and use it in GitHub Desktop.
Run specific Magento 1.x cron manually
<?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