Era.Common.DataDefinition.Task.OS.RunCommand

Description

Executes script on client. Results must be retrieved by custom channel (shared directory, local log file, ...).

Properties

Name JsonSchemaType Description
commandLine string Platform depend command line that will be put into script file and executed.
currentDirectory string Working directory for script file.

Dual message (request/response)

No dual message.

Referenced in messages

Era.Common.DataDefinition.Task.ClientTaskConfiguration

JsonSchema

{
    "title": "Era.Common.DataDefinition.Task.OS.RunCommand",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.DataDefinition.Task.OS.RunCommand"
    ],
    "properties": {
        "Era.Common.DataDefinition.Task.OS.RunCommand": {
            "$ref": "#/definitions/RunCommand"
        }
    },
    "definitions": {
        "RunCommand": {
            "additionalProperties": false,
            "required": [
                "commandLine"
            ],
            "type": "object",
            "properties": {
                "commandLine": {
                    "type": "string"
                },
                "currentDirectory": {
                    "type": "string"
                }
            }
        }
    }
}