Work with Job methods allows you to work with information related to a user job.
JobList ($User, $Jobstatus) - returns all user jobs information.
Arguments |
Value |
Description |
$User |
|
User name |
$Jobstatus |
*ACTIVE - default |
Job status |
|
$JobListArray = $Jobs->createJobListArray($Jobs->JobList("*CURRENT ", "*ACTIVE ")} |
|
createJobListArray($JobListString) - Creates an array for all the user’s jobs information.
Arguments |
Value |
Description |
$JobListString |
|
Return string from JOBLIST() method |
|
$JobListArray = $Jobs->createJobListArray($Jobs->JobList("*CURRENT ", "*ACTIVE ")); |
|
JobLog($JobName, $JobUser, $JobNumber, $Direction = 'L') - Returns the job’s log messages.
Arguments |
Value |
Description |
$JobName |
|
Job name; ‘*’ - Returns current job log messages |
$JobUser |
|
Job user |
$JobNumber |
|
Job number |
$Direction |
L - default |
The log messages order. The ‘L’ indicates descending order (from the last message to the first) |
|
o $JobLogMsgs = $Jobs->JobLog('*', ' ', ' ', ' '); |
|
|
<?php |
|