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:
-
entryIdspecifies the ID of a log entry belonging to the job concerned. The list of log IDs is returned by thelogjob 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.