job jobRef getLogEntry

Available for: Content Management Server, Template Engine

Task: The command returns a log entry of the specified job.

Syntax:

job (withName jobName) | (withId jobId) getLogEntry entryId

Function parameters:

  • entryId specifies the ID of a log entry belonging to the job concerned. The list of log IDs is returned by the log job parameter.

Return value if successful: a list of name-value pairs (stringlist).

Necessary permissions (CM only): no restrictions.

Example:

CM>job withName myJob getLogEntry 3461
entryId 3461 execStart 20021219111651 execEnd 20021219111735 execResult {The Job Result}