Event scheduled with wp_schedule_single_event is executing more than once
-
I am scheduling a single event using wp_schedule_single_event and it is occasionally executing more than once. I have seen it execute up to 8 times.
This is how I am scheduling the event:
wp_schedule_single_event(time(), $hook, $args);This event can be scheduled very often, but the $args will be different every time because I am including a unique ID.
I am using WordPress version 5.3.2 in Azure.
Does anyone know why this is happening and how I can ensure the event is only executed once?
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘Event scheduled with wp_schedule_single_event is executing more than once’ is closed to new replies.