job jobRef getOutput entryId

Available for: Content Management Server, Template Engine

Task: The command returns the logged output of the specified job.

Syntax:

job (withName jobName) | (withId jobId) getOutput 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: the output generated by the job (string).

Necessary permissions (CM only): no restrictions.

Example:

CM>job withName myJob getOutput 3461
Output generated by the job.