Search code examples
c#regexcronazure-functionstimer-trigger

What is Azure functions Cron Expression to trigger on specific dates of every month?


i have C# Timer Trigger Azure function, which i want to trigger at specific dates of every month. what should be the cron expression for it?

e.g. : trigger job at 8th and 20th date of each month.


Solution

  • Your trigger can look something like:

    starting with azure cron expression:

    {second} {minute} {hour} {day} {month} {day-of-week}
    

    The expression:

    0 0 12 8,20 * ? 
    

    This will trigger a noon on the 8 and 20 each month