public function generateScheduleAction()
    {
        Mage::app()->removeCache(Mage_Cron_Model_Observer::CACHE_KEY_LAST_SCHEDULE_GENERATE_AT);

        /* @var Aoe_Scheduler_Model_ScheduleManager $scheduleManager */
        $scheduleManager = Mage::getModel('aoe_scheduler/scheduleManager');
        $scheduleManager->generateSchedules();

        $this->_getSession()->addSuccess($this->__('Generated schedule'));
        $this->_redirect('*/*/index');
    }
public function generateScheduleAction()
    {
        Mage::app()->removeCache(Mage_Cron_Model_Observer::CACHE_KEY_LAST_SCHEDULE_GENERATE_AT);

        /* @var Aoe_Scheduler_Model_ScheduleManager $scheduleManager */
        $scheduleManager = Mage::getModel('aoe_scheduler/scheduleManager');
        $scheduleManager->generateSchedules();

        $this->_getSession()->addSuccess($this->__('Generated schedule'));
        $this->_redirect('*/*/index');
    }
public function generateScheduleAction ( ) { Mage :: app ( ) -> removeCache ( Mage_Cron_Model_Observer :: CACHE_KEY_LAST_SCHEDULE_GENERATE_AT ) ; /* @var Aoe_Scheduler_Model_ScheduleManager $scheduleManager */ $ scheduleManager = Mage :: getModel ( 'aoe_scheduler/scheduleManager' ) ; $ scheduleManager -> generateSchedules ( ) ; $ this -> _getSession ( ) -> addSuccess ( $ this -> __ ( 'Generated schedule' ) ) ; $ this -> _redirect ( '*/*/index' ) ; }
Generate schedule now

@return void
Generate schedule now