protected function _initJob()
    {
        $jobCode = $this->getRequest()->getParam('job_code', null);
        $job = Mage::getModel('aoe_scheduler/job')->load($jobCode);
        Mage::register('current_job_instance', $job);
        return $job;
    }
protected function _initJob()
    {
        $jobCode = $this->getRequest()->getParam('job_code', null);
        $job = Mage::getModel('aoe_scheduler/job')->load($jobCode);
        Mage::register('current_job_instance', $job);
        return $job;
    }
protected function _initJob ( ) { $ jobCode = $ this -> getRequest ( ) -> getParam ( 'job_code' , null ) ; $ job = Mage :: getModel ( 'aoe_scheduler/job' ) -> load ( $ jobCode ) ; Mage :: register ( 'current_job_instance' , $ job ) ; return $ job ; }
Init job instance and set it to registry

@return Aoe_Scheduler_Model_Job
Init job instance and set it to registry