Viewing the Job Log and Job Output

Every time a job is executed, the Content Manager (and also the Template Engine) creates a log entry for this job. In this entry, the start time and the execution result are recorded. The maximum number of log entries per job is determined by the jobMaxLogLength system configuration entry. If necessary, older entries are automatically deleted.

You can open the log of a job by clicking the Show log entries button on its view page (see The Jobs Section). The list of log entries is then displayed:

The log provides information about the time at which a job was executed and what the result of the respective execution was. The execution result can be set in the job script by assigning a value to the result variable.

Please note that an error is generated if a job script writes data to the standard output device. In the script, you can call the writeToJobLog procedure with the message argument to output text intended to be displayed on the output page.

In order to view the output of a job, please click the Show output button next to the entry concerned. The job output page is then displayed:

The job output page can also be opened from the view page of a job by clicking the Show last output button. In this case the output page always provides the current output of the job and is reloaded regularly. Additionally, a Refresh button (located next to the OK button) is available. You can use it to manually reload the page and thus have the current output displayed.

Click OK to return to the list of log entries. Here you can also click on OK in order to return to the view page of the job.