B-219 Sec-55 Noida, India
+918010221733

Fixing Magento Catalog Price Rules Issue

try {
Mage::getConfig()->init()->loadEventObservers(‘crontab’);
Mage::app()->addEventArea(‘crontab’);
Mage::dispatchEvent(‘default’);
$observ = Mage::getModel(‘catalogrule/observer’);
$observ->dailyCatalogUpdate(“0 1 * * *”);
} catch (Exception $e) {
Mage::printException($e);
}
(Visited 45 times, 1 visits today)

Leave a reply