What is the simplest way to run a timer-triggered Azure Function locally once?

后端 未结 7 855
醉话见心
醉话见心 2020-12-13 12:03

I have a few C# Azure Functions that run on a schedule using timer triggers. I\'ve set them up like so, where %TimerSchedule% refers to a cron expression in the

7条回答
  •  有刺的猬
    2020-12-13 12:21

    Using postman should do the trick. Follow the below steps to Run or debug you Timer Trigger Locally.

    1 . RUN your Project.

    1. Open Postman and past this url http://localhost:{port}/admin/functions/{function_name}

    2. Make sure to use a POST Method with Json body of { "input": "" }

    3. Press SEND.

    You Should receive a response of 202.

提交回复
热议问题