You can add the below configuration setting to your web app to disable the Webjob.
WEBJOBS_STOPPED - Set this setting to 1 to disable running any job (will also stop all currently running jobs).
WEBJOBS_DISABLE_SCHEDULE - Set this to 1 to turn off all scheduled triggering. Unlike with WEBJOBS_STOPPED, WebJobs can still be manually invoked
WEBJOBS_DISABLE_SCHEDULE - Set this to 1 to turn off all scheduled triggering. Unlike with WEBJOBS_STOPPED, WebJobs can still be manually invoked
For more information you can refer this github link .
Another Answer
Recently I have been facing a similar issue while trying to debug the code in a development environment while disabling WebJob. Below are my findings:
Step 1:- Browse through your deployed App service and find for webjob in the search bar.
- Once you click on the check button, it will prompt you to enable or disable WebJob and here you go to choose the desired action.