I am considering using Azure WebJobs to send an email to customers every morning. However, i want to be sure only one email is sent to each customer. I'm unclear if a scheduled Azure WebJob will run one-per-instance or one-per-webapp or one-per-deployment-slot. If I publish a webjob and schedule it to run every day at 8 am, and the site is configured with two deployment slots, and runs on 2 instances, how many emails will be sent to a customer at 8 am?
- Is it 1, indicating Azure ensures only one webjob runs per schedule?
- Is it 2, indicating Azure runs the webjob once on each instance or slot?
- Or Is it 4, indicating Azure runs the webjob once on each instance on each slot?