0
votes

I am using azure timer trigger function for triggering every 15 minutes in a day. So I set the time in TimerTrigger->Integrate->Schedule as 0 */15 * * * *. But the function is executing on every 5 minutes.

enter image description here

Is any problem in given CRON expression?

1
0 */15 * * * * is correct and I see function executes every 15m. Might be a silly suggestion but have you clicked Save after modifying the schedule? - Jerry Liu
yes, saved changes. - Jinesh
Looks like the function is consuming the old code(template is 5m). Just in case, have you tried the steps like refreshing(button next to functionapp), restarting or deleting and recreating? - Jerry Liu
You mean after updating the Shedule time, then restart the function, right? - Jinesh
Yes. But function runtime is supposed to reload the file changes automatically without any manual steps. Not sure what goes wrong on your side. - Jerry Liu

1 Answers

1
votes

Your expression is wrong.

Try these

0 */15 * ? * * // every 15 minutes starting at minute :00, of every hour

* 0/15 0 ? * *  //every 15 minutes starting at minute :00

You can test it in cron generator