Quantcast
Channel: Magnetism Solutions Dynamics CRM Blog : microsoft dynamics
Viewing all articles
Browse latest Browse all 651

Stopping Azure WebJobs easily with Configuration Settings

$
0
0

If you have a lot of WebJobs, you may be wanting an easier way to start and stop them without having to push the start/stop button on all of them, or worse for scheduled jobs since you cannot do that with a button press from the UI.

There is however an easier way to do this via Application Settings inside the Configuration section of our App Service where the WebJobs are located.

There are two Configuration Settings that we can add to achieve this:

image

WEBJOBS_STOPPED– setting this to 1 will disable all jobs, and will also stop any jobs that are currently running.

WEBJOBS_DISABLE_SCHEDULE– with this set to 1 it will turn off schedules for any scheduled WebJobs, however they will still be able to be triggered manually.


Viewing all articles
Browse latest Browse all 651

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>