如何使用Azure数据工厂计划属性?

时间:2019-02-28 09:01:57

标签: azure-data-factory

我正在尝试创建一个高级计划触发器,其操作如下:https://docs.microsoft.com/en-us/azure/data-factory/concepts-pipeline-execution-triggers#schedule-property

  1. 我创建了一个非常简单的管道:

    enter image description here

  2. 尝试进行手动运行,没关系: enter image description here

  3. 创建一个计划(每1分钟)触发

  4. 打开该触发器的JSON并将其修改为:

{
    "name": "test",
    "properties": {
        "runtimeState": "Started",
        "pipelines": [
            {
                "pipelineReference": {
                    "referenceName": "ForEachMetadata",
                    "type": "PipelineReference"
                }
            }
        ],
        "type": "ScheduleTrigger",
        "typeProperties": {
            "recurrence": {
                "frequency": "Minute",
                "interval": 1,
                "startTime": "2019-02-25T16:23:00.000Z",
                "timeZone": "UTC",
                "schedule": {
                    "minutes": [
                        0,
                        30
                    ],
                    "hours": [
                        10,
                        11
                    ],
                    "weekDays": [
                        "monday",
                        "tuesday",
                        "wednesday",
                        "thursday",
                        "friday"
                    ]
                }
            }
        }
    }
}

  1. 一旦发布,我就知道触发器失败了: enter image description here

我在做什么错了?

1 个答案:

答案 0 :(得分:1)

请重新访问JSON并更新

"frequency": "Minute",

"frequency": "Week",

那应该有帮助。