Notification texts go here Contact Us Buy Now!

how to put azure webjob on hold with out deleting it?

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

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:
  1. Browse through your deployed App service and find for webjob in the search bar.
  2. enter image description here
Step 2:
  1. 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.
  2. enter image description here

Post a Comment

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.