With Azure WebApps, I know that I can make WebJob single by adding "is_singleton": trueWebJob to the file settings.job, and this works fine if I have, for example, 3 instances in one WebApp deployment.
However - how can I publish two WebApps (use case, two different regions) and make WebJob run as singleton and in only one of the deployments.
An example of the desired behavior:
Sydney Deployment
- My Singleton Webjob (Running)
- My other WebJobs that handle the queue (Running)
Deployment in Singapore
- My Singleton Webjob (not working or maybe not even deployed?)
- My other WebJobs that handle the queue (Running)
, azure - , , visual studio, ?
Visual Studio 2015.