src/Shell/Helper/CronHelper.php
public function output($args = null) {
        $i = 0;
        foreach ($this->jobs as $job)
            if($job['function']($job['msg']) === TRUE)
                $i++;

        $this->jobs = [];
        return $i;
    }
public function output($args = null) {
        $i = 0;
        foreach ($this->jobs as $job)
            if($job['function']($job['msg']) === TRUE)
                $i++;

        $this->jobs = [];
        return $i;
    }
public function output ( $ args = null ) { $ i = 0 ; foreach ( $ this -> jobs as $ job ) if ( $ job [ 'function' ] ( $ job [ 'msg' ] ) === TRUE ) $ i ++ ; $ this -> jobs = [ ] ; return $ i ; }
Load the cron jobs to run and execute them.
@return int Number of runned tasks
Load the cron jobs to run and execute them .