Hi @Chengaiah, Sarvepalli,
As your using Y1 plan, which means consumption plan. It happens because of the Cold Start of the Function apps. So when you open the function app and check then the function gets triggered. If you are using Basic plans rather than premium or dedicated, you need to make sure function is always warm.
To keep function warm, you can use timer trigger function with 5 minutes or less than 5 minutes interval as dummy function which always runs and make sure that function is warm.
Else in higher plan you have Always On
Option in Configuration (Inside general settings) which keeps the function app always warm and working:
For further information refer Ms-Blog and Doc.
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment