new JobLog()
A scheduled jobs entries in the logs.
Example
var jobLogArray = myjob.schedules[i].logs.jobLog;
var newestLogEntry = myjob.schedules[i].logs.jobLog[0];
var newestStatus = myjob.schedules[i].logs.jobLog[0].status;
Members
-
jobLogs :Array.<$.jobs.JobLog~JobLogObject>
-
Exposes all entries in the job log as array of $.jobs.JobLog~JobLogObject objects. The array is ordered by planned_time in descending order.
Type:
- Array.<$.jobs.JobLog~JobLogObject>
Type Definitions
-
JobLogObject
-
Type:
- object
Properties:
Name Type Description planned_timeDate Planned point in time for execution of corresponding schedule. statusString Status during execution of corresponding schedule. error_messageString Error message of execution of corresponding schedule. started_atDate Point in time when execution of corresponding schedule started. finished_atDate Point in time when execution of corresponding schedule finished. hostString Hostname. portString Port. actionString Action executed with the corresponding schedule. userString Username. localeString Locale set for execution of the corresponding schedule. thread_idctypes.Int64 Thread Id of thread that executed this XSJob.