I have created a Time trigger Azure function, which is triggered in 2 Hrs of interval. Every time I open the Azure portal, it is triggered and after that, it is not getting triggered.
I have searched a few links in Google but didn't get any suitable solution. Can anyone please help me out?
[FunctionName("MailFailureFucntion")]
public static void Run([TimerTrigger("*/30 * * * *")] TimerInfo myTimer, ILogger log)
{
// my code - connecting SQL and send mail
}
Initially I have tried with 0 */2 * * *
- 2 Hrs interval. Then I have tried with */30 * * * *
question from:
https://stackoverflow.com/questions/65917602/azure-function-time-trigger-is-triggering-only-when-opening-the-azure-portal 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…