2

In Microsoft Azure, this runs the script every 5 mins: "0 */5 * * * *"

I thought i will run another script every 5 mins plus 2 mins with rule: "0 */7 * * * *" but then i realized i made a mistake (0,5,10,15 vs 0,7,14,21) that's not 0,7,12,17 what i wanted.

How should i do that? PS: dont want to start at 0, so i guess i will have to add 1/X not 0/X in minutes field.

https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-timer

luky
  • 259

1 Answers1

6

You don't say which version of cron, but on Vixie cron (used in BSD and GNU/Linux) you can specify either of:

2-57/5 * * * * (command)

or spell it out

2,7,12,17,22,27,32,37,42,47,52,57 * * * * (command)