Programmatically Schedule one-time execution of Azure function

后端 未结 4 577
礼貌的吻别
礼貌的吻别 2021-01-13 08:39

I have looked through documentation for WebJobs, Functions and Logic Apps in Azure but I cannot find a way to schedule a one-time execution of a process through code. My use

4条回答
  •  忘掉有多难
    2021-01-13 09:18

    One option is to create Azure Service Bus Messages in your App using the ScheduledEnqueueTimeUtc property. This will create the message in the queue, but will only be consumable at that time.

    Then a Logic App could be listening to that Service Bus Queue and doing the further processing, e.g. SendGrid, Twilio, etc...

    HTH

提交回复
热议问题