Plugin Author
Barry
(@barryhughes-1)
Immediately before an action is processed, its status is changed to in-progress
. Occasionally, though, this will fail. Possible reasons include:
- The action being deleted.
- It may already be in progress (perhaps another queue runner ‘got there first’, though we try to guard against this).
- There may have been a temporary database issue, preventing the update.
It’s difficult to know exactly what occurred, so Action Scheduler logs the problem and moves on to the next action.
action failed via WP Cron: Unable to update the status of action <ID> to in-progress.
For any actions associated with these messages, do you know what ultimately happened to them? Did they successfully complete, fail, are they missing?
For any actions associated with these messages, do you know what ultimately happened to them? Did they successfully complete, fail, are they missing?
It seems like the basically just died on the vine and never ran.
Will likely look into something like to reschedule them…
https://github.com/woocommerce/action-scheduler/issues/234#issuecomment-462199033
Any chance there’s a more complete code example of that?
Plugin Author
Barry
(@barryhughes-1)
I don’t know of any more complete examples, I’m afraid.