src/CLI/Server/Cron/Parser.php
protected function parse( $fileName )
	{
		if( !file_exists( $fileName ) )
			throw new Exception( "Cron Tab File '".$fileName."' is not existing." );
		$reader	= new FS_File_Reader( $fileName );
		$lines	= $reader->readArray();
		$lines	= file( $fileName );
		foreach( $lines as $line )
			if( trim( $line ) && !preg_match( "@^#@", $line ) )
				$this->parseJob( $line );
	}
protected function parse( $fileName )
	{
		if( !file_exists( $fileName ) )
			throw new Exception( "Cron Tab File '".$fileName."' is not existing." );
		$reader	= new FS_File_Reader( $fileName );
		$lines	= $reader->readArray();
		$lines	= file( $fileName );
		foreach( $lines as $line )
			if( trim( $line ) && !preg_match( "@^#@", $line ) )
				$this->parseJob( $line );
	}
protected function parse ( $ fileName ) { if ( ! file_exists ( $ fileName ) ) throw new Exception ( "Cron Tab File '" . $ fileName . "' is not existing." ) ; $ reader = new FS_File_Reader ( $ fileName ) ; $ lines = $ reader -> readArray ( ) ; $ lines = file ( $ fileName ) ; foreach ( $ lines as $ line ) if ( trim ( $ line ) && ! preg_match ( "@^#@" , $ line ) ) $ this -> parseJob ( $ line ) ; }
Parses Cron Tab File.
@access		protected
@param		string		$fileName		Cron Tab File
@return		void
Parses Cron Tab File .