New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I trigger my function on-demand so I can test it? #54375
Comments
Hi @rigdern Thanks for reaching out. We will review and update as appropriate. |
@rigdern There is a already a public doc which you have already mentioned. https://docs.microsoft.com/en-us/azure/azure-functions/functions-manually-run-non-http To be more precise this one is even more beneficial. https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-scheduled-function I don't think there is a doc change required at this moment. For now will proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue. |
@DixitArora-MSFT I believe this issue should be reopened. My feedback was about the page Timer trigger for Azure Functions. My suggestion is that the page Timer trigger for Azure Functions should link to Manually run a non HTTP-triggered function. This will make it easier for developers to find this information. Rationale for My SuggestionThis suggestion comes from a pain point in my personal experience using Azure Functions. I thoroughly read the doc pages related to the Timer trigger trying to figure out how to run them on-demand. I couldn't figure it out. It was only days later that I accidentally came across the doc page Manually run a non HTTP-triggered function. I believe my suggested doc change will save future developers from experiencing this pain point. |
@rigdern I have assigned this to content author for further review and update as appropriate. |
Thanks, @rigdern - The link is now added to the page. The public version will update during our next content refresh. #please-close |
When testing, it's inconvenient to wait for the timer to trigger. How can I trigger the function on-demand? It would be nice for the documentation to cover this for both local deployments and Azure deployments.
For functions deployed in Azure, from a lot of searching, I learned that this can be done on the "Code + Test" page for the Azure Function.
Perhaps this can be solved by including a link to the page Manually run a non HTTP-triggered function
Adam Comella
Microsoft Corp.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: