public function execute($param = [])
    {
        $this->param = $param;
        $this->runtime = new \DateTime();

        // Get schedules
        $this->getRunTimes();

        // Time of day for daily, weekly, monthly and yearly jobs
        $this->getScheduleThreshold();

        $event = new CronEvent($this->app, $this->output);

        // Process event listeners
        foreach ($this->jobs as $name => $data) {
            $this->executeSingle($event, $name, $data);
        }

        return true;
    }
public function execute($param = [])
    {
        $this->param = $param;
        $this->runtime = new \DateTime();

        // Get schedules
        $this->getRunTimes();

        // Time of day for daily, weekly, monthly and yearly jobs
        $this->getScheduleThreshold();

        $event = new CronEvent($this->app, $this->output);

        // Process event listeners
        foreach ($this->jobs as $name => $data) {
            $this->executeSingle($event, $name, $data);
        }

        return true;
    }
public function execute ( $ param = [ ] ) { $ this -> param = $ param ; $ this -> runtime = new \ DateTime ( ) ; // Get schedules $ this -> getRunTimes ( ) ; // Time of day for daily, weekly, monthly and yearly jobs $ this -> getScheduleThreshold ( ) ; $ event = new CronEvent ( $ this -> app , $ this -> output ) ; // Process event listeners foreach ( $ this -> jobs as $ name => $ data ) { $ this -> executeSingle ( $ event , $ name , $ data ) ; } return true ; }
Run the jobs.

@param array $param

@return bool
Run the jobs .