I have a scheduled web job created in Azure app service developed using C#. I want to change my web job from scheduled to continuous, but upon deploying the web job from visual studio it created a new instance of the web job in the Azure portal(1-Continuous and 1-Scheduled).
Duplicate Web Jobs in Azure Portal
webjob-publish-settings.json
Before:
{ "$schema": "http://schemastore.org/schemas/json/webjob-publish-settings.json", "webJobName": "SampleWebJob", "runMode": "OnDemand" }
After:
{ "$schema": "http://schemastore.org/schemas/json/webjob-publish-settings.json", "webJobName": "SampleWebJob", "runMode": "Continuous" }
I would like to overwrite the existing web job instead of creating a new one. Is there any way I can do it?
Also is there any way I can achieve this using ARM templates?