I have a C# function triggered every 30 mins. However from time to time it stops firing. When that happens I log into the Azure portal, go open that function and magically it springs back to life and the trigger fires again. Its like its being woken up when I go in there.
I sadly have no solid repro i'm sorry.
Is your function running in a Dynamic plan or Classic plan? If classic, make sure it is Basic or Standard, and has Always On turned on.
Also, can you share your function app name, either directly or indirectly? This will help us investigate.
One more thing: the approximate time where you saw this happen could help track it down.
We have it in an S1 plan. Not sure how to tell if Classic or Dynamic? Must be dynamic as we don't have the Always On toggle.
S1 is actually Classic. To check the Always On toggle:
Ah right! Thanks! Probably would be useful for that to be on by default no?
Yes, it really should be. You created the Function App using the Azure Portal, right?
I confirmed that creating a new S1 Function app does _not_ auto set the Always On bit. Definitely a bug which we'll fix. I'll close this issue since that logic lives in the Azure portal which is not on GitHub.
Thanks for reporting!
Thanks for the assistance! Yep, created via portal.