Scheduled Azure WebJob deployed via Git results in On Demand Job

后端 未结 3 1801
无人及你
无人及你 2021-02-13 07:02

I have a Git-Enabled ASP.NET WebApp with one associated Azure WebJob. When I deploy this via Visual Studio everything is fine, but this is kinda hard in a Continuous Delivery En

3条回答
  •  礼貌的吻别
    2021-02-13 07:33

    There is finally a solution for deploying scheduled webjobs with git deployment.

    This blog has details.

    The solution uses the kudu scheduler as opposed to the Azure scheduler so the Azure portal still shows the job as "On Demand" but it does execute per schedule and the portal shows history accurately.

提交回复
热议问题