src/Anonym/Cron/Crontab/CrontabFileHandler.php
public function listJobs($crontab){

        $process = new Process($this->crontabCommand($crontab).' -l');
        $process->run();

        $this->error = $process->getErrorOutput();
        return $process->getOutput();

    }
public function listJobs($crontab){

        $process = new Process($this->crontabCommand($crontab).' -l');
        $process->run();

        $this->error = $process->getErrorOutput();
        return $process->getOutput();

    }
public function listJobs ( $ crontab ) { $ process = new Process ( $ this -> crontabCommand ( $ crontab ) . ' -l' ) ; $ process -> run ( ) ; $ this -> error = $ process -> getErrorOutput ( ) ; return $ process -> getOutput ( ) ; }
list the current jobs

@param Crontab $crontab
@return array
list the current jobs