Why my functions will be triggered every time I do the deployment

Zhuo Chen 20 Reputation points Microsoft Employee
2025-06-05T02:35:15.7833333+00:00

Why my functions will be triggered every time I do the deployment. they are timer triggered, I set the cron to trigger one time one day.

Here is one example:

[DisableFunction(FunctionAppSettings.DisableFunction)]
        [Function("TESTFunction")]
        public async Task TestFunction(
            [TimerTrigger("0 5 8 * * *")] TimerInfo myTimer)
        {
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,882 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.