X4 Produktdokumentation

Operation: Jobs information

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
<?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
<?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

Id

UUID of the execution

  • UUID

Name

Name of the execution

  • Any string

Type

Type of job

  • Cron

  • Startup

Workspace

Path to the workspace where the job is defined

  • Any valid path to the workspace in the X4 repository

Project

Path to the project to which the job belongs

  • Any valid path to the project in the X4 repository

Process

Path to the process that is to be executed

  • Any valid path to the X4 process in the X4 repository

Active

Status of the execution

  • true

  • false

JobsExecuted

Number of previous executions

  • Integer

StartTime

Start date of the execution

  • Time and date

PreviousTime

Date of the last execution

  • Time and date

NextTime

Date of the next run

  • Time and date

EndTime

End date of execution

  • Time and date