Azure NCrontab

Microsoft's cron format for Azure Functions Timer Triggers.

Azure NCrontab: Extended 6-field format used by Azure Functions for timer-triggered functions.

6-Field Format

{*} * * * * *
{second} second (0-59)
minute minute (0-59)
hour hour (0-23)
day day of month (1-31)
month month (1-12)
day-of-week day of week (0-6)

Examples

{0} 0 */6 * * *

Every 6 hours

{0} 30 9 * * 1-5

9:30 AM on weekdays

Azure Functions Usage

[FunctionName("TimerFunction")] public static void Run( [TimerTrigger("{0} 0 */6 * * *")] TimerInfo myTimer, ILogger log) { log.LogInformation($"Timer trigger function executed at: {DateTime.Now}"); }