SAP Commerce Cloud · Schema

CronJob

B2BB2CCommerceCustomer ExperienceEcommerceOmnichannelRetail

Properties

Name Type Description
code string CronJob code
jobCode string Associated job code
status string Current status
result string Last execution result
startTime string Last execution start time
endTime string Last execution end time
active boolean Whether the CronJob is active
triggerExpression string Cron trigger expression
View JSON Schema on GitHub

JSON Schema

sap-commerce-cloud-cronjob-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CronJob",
  "title": "CronJob",
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "description": "CronJob code"
    },
    "jobCode": {
      "type": "string",
      "description": "Associated job code"
    },
    "status": {
      "type": "string",
      "enum": [
        "RUNNING",
        "FINISHED",
        "ABORTED",
        "PAUSED",
        "UNKNOWN"
      ],
      "description": "Current status"
    },
    "result": {
      "type": "string",
      "enum": [
        "SUCCESS",
        "ERROR",
        "FAILURE"
      ],
      "description": "Last execution result"
    },
    "startTime": {
      "type": "string",
      "format": "date-time",
      "description": "Last execution start time"
    },
    "endTime": {
      "type": "string",
      "format": "date-time",
      "description": "Last execution end time"
    },
    "active": {
      "type": "boolean",
      "description": "Whether the CronJob is active"
    },
    "triggerExpression": {
      "type": "string",
      "description": "Cron trigger expression"
    }
  }
}