public function cron_worker() {
		if ( $this->is_worker_locked() ) {
			return;
		}

		$this->start_time = time();

		$this->lock_worker();

		while ( ! $this->time_exceeded() && ! $this->memory_exceeded() ) {
			if ( ! $this->worker->process() ) {
				break;
			}
		}

		$this->unlock_worker();
	}
public function cron_worker() {
		if ( $this->is_worker_locked() ) {
			return;
		}

		$this->start_time = time();

		$this->lock_worker();

		while ( ! $this->time_exceeded() && ! $this->memory_exceeded() ) {
			if ( ! $this->worker->process() ) {
				break;
			}
		}

		$this->unlock_worker();
	}
public function cron_worker ( ) { if ( $ this -> is_worker_locked ( ) ) { return ; } $ this -> start_time = time ( ) ; $ this -> lock_worker ( ) ; while ( ! $ this -> time_exceeded ( ) && ! $ this -> memory_exceeded ( ) ) { if ( ! $ this -> worker -> process ( ) ) { break ; } } $ this -> unlock_worker ( ) ; }
Process any jobs in the queue.
Process any jobs in the queue .