protected function parseCrontab( $crontab )
    {
        $lines = preg_split( '(\r\n|\r|\n)', $crontab );
        $this->crontab = array();
        foreach ( $lines as $line )
        {
            $line = trim( $line );
            if ( !empty( $line ) &&
                 ( $line[0] !== '#' ) &&
                 ( $line[0] !== ';' ) )
            {
                $this->crontab[] = new Cronjob( $line );
            }
        }
    }
protected function parseCrontab( $crontab )
    {
        $lines = preg_split( '(\r\n|\r|\n)', $crontab );
        $this->crontab = array();
        foreach ( $lines as $line )
        {
            $line = trim( $line );
            if ( !empty( $line ) &&
                 ( $line[0] !== '#' ) &&
                 ( $line[0] !== ';' ) )
            {
                $this->crontab[] = new Cronjob( $line );
            }
        }
    }
protected function parseCrontab ( $ crontab ) { $ lines = preg_split ( '(\r\n|\r|\n)' , $ crontab ) ; $ this -> crontab = array ( ) ; foreach ( $ lines as $ line ) { $ line = trim ( $ line ) ; if ( ! empty ( $ line ) && ( $ line [ 0 ] !== '#' ) && ( $ line [ 0 ] !== ';' ) ) { $ this -> crontab [ ] = new Cronjob ( $ line ) ; } } }
Parse given cron table

All lines, which are not empty or start with a # or ; character are
considered cron lines parsed as such.

@param string $crontab
@return void
Parse given cron table