job_info()
Usage
job_info(jobId)
Description
Returns information about the job with the given job Id. If the job does not exist (anymore) the function returns false
.
For script jobs this information is:
jobId
: The job IDjobtype
: The job typeusername
: The username of the user who started the jobstatus
: The current status of the jobjobName
: The name of the script jobexception
: If an exception was caught during the execution, an exception object containing:message
: The message of the exceptioncause
: The cause of the exceptionstacktrace
: The stacktrace of the exception
For file import jobs:
jobId
: The job IDjobtype
: The job typeusername
: The username of the user who started the jobstatus
: The current status of the jobfileUuid
: The UUID of the imported filefilepath
: The path of the imported filefilesize
: The size of the imported fileprocessedChunks
: The number of chunks already processedprocessedObjects
: The number of objects already processed-
exception
: If an exception was caught during the execution, an exception object containing:message
: The message of the exceptioncause
: The cause of the exceptionstacktrace
: The stacktrace of the exception
Example
${job_info(1)}