Era.Common.DataDefinition.Trigger.SchedulerTrigger

Description

Scheduler trigger configuration.

Properties

Name JsonSchemaType Description
enteredAsCronExpression boolean Specifies that the trigger was entered as a CRON expression by user.
This means that no parsing of the CRON expression is done on webconsole.
This setting has no impact on trigger execution.
tickAsapIfEventMissed boolean If this is set to true and the scheduled event is missed
(e.g. because computer is turned off), ticks is generated immediately after agent start.
timeEvent reference to Era.Common.DataDefinition.Scheduler.TimeEvent Single or repetitive event(s) configuration.

Dual message (request/response)

No dual message.

Referenced in messages

Era.Common.DataDefinition.Trigger.ClientTriggerConfiguration
Era.Common.DataDefinition.Trigger.ServerTriggerConfiguration

JsonSchema

{
    "title": "Era.Common.DataDefinition.Trigger.SchedulerTrigger",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.DataDefinition.Trigger.SchedulerTrigger"
    ],
    "properties": {
        "Era.Common.DataDefinition.Trigger.SchedulerTrigger": {
            "$ref": "#/definitions/SchedulerTrigger"
        }
    },
    "definitions": {
        "SchedulerTrigger": {
            "additionalProperties": false,
            "required": [
                "timeEvent"
            ],
            "type": "object",
            "properties": {
                "enteredAsCronExpression": {
                    "type": "boolean"
                },
                "tickAsapIfEventMissed": {
                    "type": "boolean"
                },
                "timeEvent": {
                    "$ref": "Era.Common.DataDefinition.Scheduler.TimeEvent#/definitions/TimeEvent"
                }
            }
        }
    }
}