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);}
December 31, 201511:27