Forum Discussion
Run a pipeline at time intervals within a specific time range
- 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.
The best would be for Fabric Scheduler to support Time windows. This is a pretty common request when refreshing data to save on API calls.
For example: I would love to run a pipeline every 15 minutes between 8am and 5pm since that is when the data is consumed. No need to run up an API bill when no one is looking at the data.