1

I am looking for a sample ARM template to create a website and a continous webjob.

(I could only find one for scheduled webjob here)

Tany
  • 1,252
  • 14
  • 30

1 Answers1

2

You can do the same as that sample, but completely leave out the Microsoft.Scheduler/jobCollections part. i.e. you only need to deploy the WebJobs files.

David Ebbo
  • 42,443
  • 8
  • 103
  • 117
  • This is slightly unclear: are you saying that don't need to add anything specific to the ARM template for a continuous WebJob? – NMrt Aug 31 '18 at 01:11
  • It's no different from deploying a web app. You just need to deploy the relevant files, e.g. via ARM msdeploy provider – David Ebbo Aug 31 '18 at 01:31
  • Right, so if you have a properly provisioned web app, you don't need to modify the ARM template in any way. you just deploy the continuous WebJob as part of the web app, and it will work? – NMrt Aug 31 '18 at 01:38