I'm trying to deploy a scheduled webjob
through CI and vNext
tasks in VSO
.
I followed the steps in the following tutorial to deploy a webjob
along with a web app ("Enable automatic deployment with a web project"):
https://azure.microsoft.com/en-us/documentation/articles/websites-dotnet-deploy-webjobs/
I succeeded partially: the webjob
gets deployed along with the web application. However, it is marked as On Demand instead of Scheduled (or whatever the proper status is). I can run the webjob manually and it runs just fine. I checked the files webjob-publish-settings.json
(in the webjob) and webjobs-list.json
(in the web app) and they seem to be alright, judging from the tutorial.
Am I missing anything? Thank you.