Azure Timer trigger is not working in .net 5 isolated function app with the CRON expression to get triggered for every minute. This is working fine if we run that in local visual studio.
public static class NotificationScheduler {
[Function("NotificationScheduler")]
public static void Run([TimerTrigger("1-2 * * * * *")] MyInfo myTimer, FunctionContext context)
{
var logger = context.GetLogger("NotificationScheduler");
logger.LogInformation($"Notification Scheduler trigger function executed at: {DateTime.Now}");
//logger.LogInformation($"Next timer schedule at: {myTimer.ScheduleStatus.Next}");
}
}



