I have a user using my plugin that has multiple AWS instances hosting WP and pointing to the same database. One of the jobs of my plugins is to run a large number of small jobs.
I was thinking of using
wp_schedule_single_event to schedule the jobs but I'm not sure how that will work with multiple instances. Each job will have unique parameters so there won't be any duplication.
Question: Will each instance try to run the same job or will WordPress be able to resolve this so that each job is only run once?