PHP Class N98\Magento\Command\System\Cron\AbstractCronCommand

Inheritance: extends N98\Magento\Command\AbstractMagentoCommand
Show file Open project: netz98/n98-magerun

Protected Methods

Method Description
getJobs ( ) : array
getSchedule ( Mage_Core_Model_Config_Element $job ) : array

Private Methods

Method Description
getJobConfigElements ( ) : Traversabl\Traversable | Mage_Core_Model_Config_Elemen\Mage_Core_Model_Config_Element[] Get job configuration from XML and database. Expression priority is given to the database.
parseCronExpression ( $expr ) : array parse a cron expression into an array, false-ly if unable to handle

Method Details

getJobs() protected method

protected getJobs ( ) : array
return array

getSchedule() protected method

protected getSchedule ( Mage_Core_Model_Config_Element $job ) : array
$job Mage_Core_Model_Config_Element
return array of five cron values,keyed by 'm', 'h', 'D', 'M' and 'WD'