Skip to content

Instantly share code, notes, and snippets.

Last active Nov 18, 2018
What would you like to do?
Azure Functions – Part 6: HTTP and Timer Triggers - 3
// CRON formatted trigger every 5 seconds
public static void TimerTrigger1([TimerTrigger("*/5 * * * * *")]TimerInfo myTimer, ILogger log)
log.LogInformation($"CRON trigger executed at : {DateTime.Now}");
public static void TimerTrigger2([TimerTrigger("00:00:03")]TimerInfo myTimer, ILogger log)
log.LogInformation($"TimeSpan trigger executed at : {DateTime.Now}");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment