Azure Search offers functionality to set up a Start DateTime and Interval (in mins) to schedule Indexer runs. Is there any way we can implement a similar configuration in Azure Function with Timer Trigger to start at a particular DateTime and then after at every interval?
Unfortunately, Azure timer trigger function
cannot set Start Time
. The timer trigger runs from the current time and executes the function according to the cycle specified by the NCRONTAB expressions.
Solution:
Maybe you can use Azure logic app to solve your problem, but in this solution, you need to use Http trigger function.
First, you need to use the Recurrence trigger, this timer can specify the time to start running, and then you can specify the time interval by changing the Frequency
; then you need to use the Function connector to call your Function
.
Note:
To be able to be called by Azure logic app, you need to use http trigger.
Please refer to my azure logic app: