Timer function doens't run properly when i set Min replicas = 0

Vitalii Koretskyi 20 Reputation points
2025-06-24T07:00:20.2933333+00:00

I have dotnet-isolated azure function deployed to azure container apps.

User's image

The function run randomly (with delay from 30 min to 2-5 hours) if is set min replicas to 0.

[Function("EnsureSubscription")]
public async Task Run([TimerTrigger("0 1,31 * * * *")] TimerInfo myTimer)
{
}

But it works properly when min replicas is 1. It runs on 1, 31 min every hour. Why?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,909 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.