Skip to content

Trying to change the scheduled trigger time so that each (dev, test and Prod) adf instance has a different trigger start time #455

@Avasaramac

Description

@Avasaramac

Please help

Summary:
I have a scheduled trigger and I am looking to change the trigger time's "Hours and Minutes" using a config file for each environment.

Code:
I am using below code and it is not working.

trigger,TriggerName,typeProperties.recurrence.schedule.minutes,"[0]"
trigger,TriggerName,typeProperties.recurrence.schedule.hours,"[4]"

This is the trigger property that I want to change:
"typeProperties": {
"recurrence": {
"frequency": "Day",
"interval": 1,
"startTime": "2023-01-03T00:00:00",
"timeZone": "Mountain Standard Time",
"schedule": {
"minutes": [
30
],
"hours": [
5
]
}
}

Error Message:
This is the error message that I am getting

##[error]At line:1 char:63
$obj.properties.typeProperties.recurrence.schedule.minutes = [0] Missing type name after '['

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions