Top
Systemwalker Operation Manager V17.0.1 Reference Guide

4.30 jobschrestexec command [Windows][Linux]

Synopsis

jobschrestexec connection information file

Description

This command is called by a REST execution job.

Executes, waits for completion, or forcibly terminates jobs (API) on a cloud service for which a REST interface is provided.

You can set the key value of the response result of the submitted job in a job net variable to link with the succeeding job.

Options

Connection information file

Specify the file name containing the parameters to be specified in the command.

Specify a full path of up to 256 bytes.

For the details of the connection information file, refer to the "19.9.1 Connection information file".

Return values

Return value

Meaning

0

Terminated normally

1

The command argument is invalid.

2

The parameter setting value in the connection information file is invalid.

3

A file operation failed during command execution.

4

The HTTP request to the specified destination URL failed.

5

The HTTP request to the specified destination URL timed out.

6

The system timed out waiting for the request to complete.
(When a request is waiting for completion)

7

The request execution result is not the specified success value.
(When a request is waiting for completion)

8

Failed to parse request response result.

9

It was not run because it is not registered as a Systemwalker Operation Manager job.

10

Failed to get credentials.

99

An internal error occurred.

Command location

Windows

<Systemwalker Operation Manager installation directory>\MpWalker.JM\bin

Linux

/usr/bin

Examples

The following is an example job definition when the connection information file path is /connectionfiles/connectioninfo.json.

jobschrestexec /connectionfiles/connectioninfo.json

Execution Results/Output Format

Cautions