src/CLI/Server/Cron/Job.php
protected function checkMaturity()
	{
		$time	= time();
		$c_minute	= date( "i", $time );
		$c_hour		= date( "H", $time );
		$c_day		= date( "d", $time );
		$c_month	= date( "m", $time );
		$c_weekday	= date( "w", $time );

		$j_minute	= (array) $this->getOption( 'minute' );
		$j_hour		= (array) $this->getOption( 'hour' );
		$j_day		= (array) $this->getOption( 'day' );
		$j_month	= (array) $this->getOption( 'month' );
		$j_weekday	= (array) $this->getOption( 'weekday' );
		if( $j_weekday[0] == "*" || in_array( $c_weekday, $j_weekday ) )
			if( $j_month[0] == "*" || in_array( $c_month, $j_month ) )
				if( $j_day[0] == "*" || in_array( $c_day, $j_day ) )
					if( $j_hour[0] == "*" || in_array( $c_hour, $j_hour ) )
						if( $j_minute[0] == "*" || in_array( $c_minute, $j_minute ) )
							return true;
		return false;
	}
protected function checkMaturity()
	{
		$time	= time();
		$c_minute	= date( "i", $time );
		$c_hour		= date( "H", $time );
		$c_day		= date( "d", $time );
		$c_month	= date( "m", $time );
		$c_weekday	= date( "w", $time );

		$j_minute	= (array) $this->getOption( 'minute' );
		$j_hour		= (array) $this->getOption( 'hour' );
		$j_day		= (array) $this->getOption( 'day' );
		$j_month	= (array) $this->getOption( 'month' );
		$j_weekday	= (array) $this->getOption( 'weekday' );
		if( $j_weekday[0] == "*" || in_array( $c_weekday, $j_weekday ) )
			if( $j_month[0] == "*" || in_array( $c_month, $j_month ) )
				if( $j_day[0] == "*" || in_array( $c_day, $j_day ) )
					if( $j_hour[0] == "*" || in_array( $c_hour, $j_hour ) )
						if( $j_minute[0] == "*" || in_array( $c_minute, $j_minute ) )
							return true;
		return false;
	}
protected function checkMaturity ( ) { $ time = time ( ) ; $ c_minute = date ( "i" , $ time ) ; $ c_hour = date ( "H" , $ time ) ; $ c_day = date ( "d" , $ time ) ; $ c_month = date ( "m" , $ time ) ; $ c_weekday = date ( "w" , $ time ) ; $ j_minute = ( array ) $ this -> getOption ( 'minute' ) ; $ j_hour = ( array ) $ this -> getOption ( 'hour' ) ; $ j_day = ( array ) $ this -> getOption ( 'day' ) ; $ j_month = ( array ) $ this -> getOption ( 'month' ) ; $ j_weekday = ( array ) $ this -> getOption ( 'weekday' ) ; if ( $ j_weekday [ 0 ] == "*" || in_array ( $ c_weekday , $ j_weekday ) ) if ( $ j_month [ 0 ] == "*" || in_array ( $ c_month , $ j_month ) ) if ( $ j_day [ 0 ] == "*" || in_array ( $ c_day , $ j_day ) ) if ( $ j_hour [ 0 ] == "*" || in_array ( $ c_hour , $ j_hour ) ) if ( $ j_minute [ 0 ] == "*" || in_array ( $ c_minute , $ j_minute ) ) return true ; return false ; }
Indicates whether this job is mature.
@access		protected
@return		bool
Indicates whether this job is mature .