getArg('crawl')) { $crawler = Mage::getModel('fpc/crawler_crawl'); $crawler->run(true); } else if ($this->getArg('crawler-status')) { echo Mage::helper('fpc')->getVariable('status').PHP_EOL; } else if ($this->getArg('update-log')) { $log = Mage::getSingleton('fpc/log'); $log->importFileLog(); $log->getResource()->aggregate(); } else if ($this->getArg('clear-old')) { Mage::getSingleton('fpc/cache')->cleanOld(); } else { echo $this->usageHelp(); } } public function _validate() { } public function usageHelp() { return <<run();