Cron jobs when running multiple instances on the same DB
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.
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?