• Resolved toddlevy

    (@toddlevy)


    Hey there –

    Occasionally seeing a failed action with this message:

    action failed via WP Cron: Unable to update the status of action ###### to in-progress.

    Did some Googling etc but not able to find any real explanation or solution.

    Any insight greatly appreciated,
    TL

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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?

    Thread Starter toddlevy

    (@toddlevy)

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.