I am using an Azure WebJob function with the "TimerTrigger" attribute to execute based on certain CRON expression. My expectation is that the function should execute only at the time specified by the CRON expression. However, logging shows that the function is being called multiple times
Here is the relevant function signature:
public static async Task Run([TimerTrigger("0 0 0 ")] TimerInfo myTimer, ExecutionContext context, ILogger logger)
upon noticing the extra triggers we added RunOnStartup = false like so
public static async Task Run([TimerTrigger("0 0 0 ", RunOnStartup = false)] TimerInfo myTimer, ExecutionContext context, ILogger logger)
however this fix did not rectify the issue as we still noticed unexpected triggers during deployment time, as per the image below,