public function doRunScheduledJobs(Event $event, $eventName)
    {
        switch ($eventName) {
            case CronEvents::CRON_MINUTE:
                $this->cronMinute();
                break;
            case CronEvents::CRON_HOURLY:
                $this->cronHourly();
                break;
            case CronEvents::CRON_DAILY:
                $this->cronDaily();
                break;
            case CronEvents::CRON_WEEKLY:
                $this->cronWeekly();
                break;
            case CronEvents::CRON_MONTHLY:
                $this->cronMonthly();
                break;
            case CronEvents::CRON_YEARLY:
                $this->cronYearly();
                break;
        }
    }
public function doRunScheduledJobs(Event $event, $eventName)
    {
        switch ($eventName) {
            case CronEvents::CRON_MINUTE:
                $this->cronMinute();
                break;
            case CronEvents::CRON_HOURLY:
                $this->cronHourly();
                break;
            case CronEvents::CRON_DAILY:
                $this->cronDaily();
                break;
            case CronEvents::CRON_WEEKLY:
                $this->cronWeekly();
                break;
            case CronEvents::CRON_MONTHLY:
                $this->cronMonthly();
                break;
            case CronEvents::CRON_YEARLY:
                $this->cronYearly();
                break;
        }
    }
public function doRunScheduledJobs ( Event $ event , $ eventName ) { switch ( $ eventName ) { case CronEvents :: CRON_MINUTE : $ this -> cronMinute ( ) ; break ; case CronEvents :: CRON_HOURLY : $ this -> cronHourly ( ) ; break ; case CronEvents :: CRON_DAILY : $ this -> cronDaily ( ) ; break ; case CronEvents :: CRON_WEEKLY : $ this -> cronWeekly ( ) ; break ; case CronEvents :: CRON_MONTHLY : $ this -> cronMonthly ( ) ; break ; case CronEvents :: CRON_YEARLY : $ this -> cronYearly ( ) ; break ; } }
Process jobs.

@param Event  $event
@param string $eventName
Process jobs .