Forum Discussion

rampie's avatar
rampie
Icon for Kudo Commander rankKudo Commander
11 months ago
Solved

Run a pipeline at time intervals within a specific time range

Hi everyone, Pipelines can be scheduled to run at minute or hourly frequencies, but I’d like to know how to configure a pipeline to run every 15 minutes only during specific hours of the day. For e...
  • tayloramy's avatar
    tayloramy
    11 months ago

    Hi rampie, 

     

    You would need to have a notebook issue a new RUn on demand API request every few minuites during the hour. 

     

    You can have a notebook scheduled to start at the beginning of your run window, then have the notebook run the API request, and wait for 15 minutes, and loop that until the the time is outside of your run window. 

     

    Hope this makes sense. 

     

     

    There is this API endpoint to update an existing schedule: Job Scheduler - Update Item Schedule - REST API (Core) | Microsoft Learn

    You should be able to endable/disable the schedule with this, but I have not tested it myself. 

     

    If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, mark this post as the solution.