2

I'm trying to edit my configuration app.config from the Azure WebJob. I currently have 2 web jobs that configured to run as on-demand (Cron Scheduled)

enter image description here

My Jobs are working perfectly fine. But When I try to view the source code of my web jobs through Kudo Command

https://xxxxx.scm.azurewebsites.net/DebugConsole

enter image description here

I'm not able to see any jobs for the trigger. In fact, there is no folder called triggered

but when I tried to https://xx.scm.azurewebsites.net/azurejobs/#/jobs I can able to see my Jobs there.

How to find the source code of my WebJobs?

Jayendran
  • 9,638
  • 8
  • 60
  • 103

1 Answers1

2

The default location for WebJobs is under d:\home\site\wwwroot\App_Data\jobs. Did you look there?

David Ebbo
  • 42,443
  • 8
  • 103
  • 117
  • Thanks, Got it there. May I know what is the difference between `d:\home\site\jobs` and `d:\home\site\wwwroot\App_Data\jobs` ? – Jayendran Oct 01 '18 at 16:18
  • `d:\home\site\wwwroot\App_Data\jobs` is the default. `d:\home\site\jobs` is a fallback used when trying to upload a new WebJob while [running from a package](https://github.com/Azure/app-service-announcements/issues/84), where the `wwwroot` forlder is read-only. – David Ebbo Oct 01 '18 at 18:04
  • I have an issue with this structure since all the web jobs were deployed under `d:\home\site\wwwroot\App_Data\jobs` i need to deploy my webjobs for every build/release but i don't want this to be deployed for every build/release. Since we are using CI/CD we will only deploy the webjobs if any changes in that WebJobs. Is there is any way to achieve this ? – Jayendran Nov 12 '18 at 07:23