Argo · JSON Structure

Argo Workflows Cron Workflow Spec Structure

Specification of a cron workflow

Type: object Properties: 9
CNCFCI/CDGitOpsKubernetesOpen SourceProgressive DeliveryWorkflow Engine

CronWorkflowSpec is a JSON Structure definition published by Argo, describing 9 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

schedule timezone startingDeadlineSeconds concurrencyPolicy suspend successfulJobsHistoryLimit failedJobsHistoryLimit workflowSpec workflowMetadata

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/argo/refs/heads/main/json-structure/argo-workflows-cron-workflow-spec-structure.json",
  "name": "CronWorkflowSpec",
  "description": "Specification of a cron workflow",
  "type": "object",
  "properties": {
    "schedule": {
      "type": "string",
      "description": "Cron schedule expression"
    },
    "timezone": {
      "type": "string",
      "description": "Timezone for the cron schedule"
    },
    "startingDeadlineSeconds": {
      "type": "int64"
    },
    "concurrencyPolicy": {
      "type": "string",
      "enum": [
        "Allow",
        "Forbid",
        "Replace"
      ]
    },
    "suspend": {
      "type": "boolean",
      "description": "Whether the cron workflow is suspended"
    },
    "successfulJobsHistoryLimit": {
      "type": "int32"
    },
    "failedJobsHistoryLimit": {
      "type": "int32"
    },
    "workflowSpec": {
      "$ref": "#/components/schemas/WorkflowSpec"
    },
    "workflowMetadata": {
      "type": "object"
    }
  }
}