Hi @Diptesh Kumar ,
After setting up the Trigger in YAML, one needs to click on Sync Schedules, then it sinks the Schedule to the pipeline, I have placed a trigger at 10:10 am and later clicked on Sync Schedules, after that it has shown me the schedule:
Below is the YAML script:
trigger: none
schedules:
- cron: "40 4 * * 2"
displayName: "10:40 AM IST - Tuesday Run"
branches:
include:
- main
always: true
pool:
vmImage: 'ubuntu-latest'
jobs:
- job: SampleJob
steps:
- script: echo "Hello Rithwik, it is triggering at scheduled time"
Output:
Make sure to keep the correct branch in the yaml script.
If this answer was helpful, please click "Accept the answer" and mark Yes
, as this can help other community members.
If you have any other questions or are still experiencing issues, feel free to ask in the "comments" section, and I'd be happy to help.