Azure / Azure/azure-functions-host
1 minute azure function is not working as expected
- Dominant language
- C#
- Stars
- 2k
- Forks
- 482
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 38
Description
I have time trigger azure function - `[TimerTrigger("0 * * * * *")]`
This is expected to run every 1 minute at 00 seconds. But sometimes its get executed at previous 59 second itself.
I have tried the expression as `[TimerTrigger("0 */1 * * * *")]` - but still same behavior.
Please find attached screenshot of log prints.
**One more observation is** - if I run timer function locally then it is executing as per expectation at every 1 minute 0 second.
Looks like the above reports issue is when I deploy it on Azure function app
**One more quick verification** I have done - is creating a new function app, creating time trigger function using portal - without any additional logic - only print - and that has also same issue.

**I have tried to print extra information of timer**
Contributor guide
Research direction
Start by reproducing the [TimerTrigger("0 * * * * *")] function in a deployed Azure Function App and compare its timestamps with the local run and the attached logs. Done means determining why the deployed timer can execute at the previous 59-second mark and documenting or fixing the runtime behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp
- Domain
- backend, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100