Azure / azure-functions-host

The host/runtime that powers Azure Functions
https://functions.azure.com
MIT License
1.95k stars 442 forks source link

Timer trigger function does not fire at the correct time #3017

Open thombrink opened 6 years ago

thombrink commented 6 years ago

Investigative information

Please provide the following:

Repro steps

sms-function

Expected behavior

The function should run at 19:00 every day.

Actual behavior

The function ran at 23:59 yesterday.

Known workarounds

Related information

I used Visual Studio to create and deploy the Azure Function and wrote it in C#.

pragnagopa commented 6 years ago

Please set WEBSITE_TIME_ZONE for the function app following instructions here cron-time-zones. Let me know if you still do not see an issue

thombrink commented 6 years ago

The problem didn't occur again. But the cron time zones you are referring to, state that the default time zone is UTC. That doesn't explain the weird execution at 23:59 instead of 19:00.

pragnagopa commented 6 years ago

We recently added troubleshooting guide for timer issues - Investigating-and-reporting-issues-with-timer-triggered-functions-not-firing. Please take a look at it and share the details mentioned in "Reporting your issue" section.

thombrink commented 6 years ago

Oke thank you! If it happens again, I will do that. You can close this issue now.