Search code examples
c#azureazure-functionstimer-trigger

Azure function timer trigger


I’m trying to create timer trigger function in the portal following this tutorial:timer trigger. I try to set the Schedule to 0 */30 * * * *, every 30 minutes run a time.

enter image description here

However after i create it, I could only see one running record,all others is no new trace in the past. I want to know if I did something wrong, hope some guy could help me.


Solution

  • I suppose your cron expression should work and you have said you could see one record, so mostly it's the portal log problem.

    The log window is a bit fragile and doesn't always show the logs. However, the log will be written to the Kudu file. To check the log you could go your function Kudu site, Debug console > CMD then go into LogFiles > Application > Functions > Function > Function Name.

    There you see your function log.

    It will be like the below picture.

    enter image description here