Google Cloud PHP shared dependency, providing functionality useful to all components. Client - Class BatchDaemon (1.60.0)

Reference documentation and code samples for the Google Cloud PHP shared dependency, providing functionality useful to all components. Client class BatchDaemon.

An external daemon script for executing the batch jobs.

Namespace

Google \ Cloud \ Core \ Batch

Methods

__construct

Prepare the descriptor spec and install signal handlers.

Parameter
Name Description
entrypoint string

Daemon's entrypoint script.

run

A loop for the parent.

Returns
Type Description
void

job

Fetch the child job by id.

Parameter
Name Description
idNum int

The id of the job to find

Returns
Type Description
JobInterface