how to stop/start a timer trigger azure function

Roy, Chandan 0 Reputation points
2023-03-16T04:18:06.9+00:00

I want to start/stop my azure timer trigger function. We have a restriction to use option from Azure portal. How to start/stop a timer trigger azure function programmatically.

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

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 68,391 Reputation points
    2023-03-16T05:29:04.2066667+00:00

    @Roy, Chandan Thanks for reaching out. You need to enable/disable your timer trigger function. You can either leverage the CLI or PowerShell that is documented here or refer to the previous discussion here where you can leverage the REST API to programmatically enable/disable your functions.

    Feel free to get back to me if you need any assistance.

    Please accept as "Yes" if the answer is helpful so that it can help others in the community. If you need any help/clarification/concerns/follow up questions, then please click on "Add Comment" on my answer and provide more details.

    1 person found this answer helpful.