The Jobs Information operation displays information about scheduled processes from all schedule files in the X4 repository.
Example
Output
The adapter creates an XML document as output.
Note:
The time and date format may vary depending on the operating system and other settings.
Possible formats include:
-
DD.MM.YY, hh:MM
-
MM/DD/YY, hh:MM AM/PM
Output in DD.MM.YY, hh:MM format:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<JobInformation>
<Job>
<Id>5d6d4a9d-1815-426f-bf2c-fdb846d211e6</Id>
<Name>ScheduledProcess</Name>
<Type>Cron</Type>
<Workspace>Processes/MyProcess.wrf</Workspace>
<Project>true</Project>
<Process>Processes/MyProcess.wrf</Process>
<Active>true</Active>
<JobsExecuted>4</JobsExecuted>
<StartTime>25.04.22, 10:30</StartTime>
<PreviousTime>26.04.22, 10:30</PreviousTime>
<NextTime>27.04.22, 10:30</NextTime>
</Job>
</JobInformation>
Output in MM/DD/YY, hh:MM AM/PM format:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<JobInformation>
<Job>
<Id>5d6d4a9d-1815-426f-bf2c-fdb846d211e6</Id>
<Name>ScheduledProcess</Name>
<Type>Cron</Type>
<Workspace>Processes/MyProcess.wrf</Workspace>
<Project>true</Project>
<Process>Processes/MyProcess.wrf</Process>
<Active>true</Active>
<JobsExecuted>4</JobsExecuted>
<StartTime>4/25/22, 10:30 AM</StartTime>
<PreviousTime>4/26/22, 10:30 AM</PreviousTime>
<NextTime>4/27/22, 10:30 AM</NextTime>
</Job>
</JobInformation>
The following elements can be contained in the output:
|
Element |
Description |
Possible values |
|---|---|---|
|
|
UUID of the execution |
|
|
|
Name of the execution |
|
|
|
Type of job |
|
|
|
Path to the workspace where the job is defined |
|
|
|
Path to the project to which the job belongs |
|
|
|
Path to the process that is to be executed |
|
|
|
Status of the execution |
|
|
|
Number of previous executions |
|
|
|
Start date of the execution |
|
|
|
Date of the last execution |
|
|
|
Date of the next run |
|
|
|
End date of execution |
|