• Resolved klous-1

    (@klous-1)


    Hello,

    Whenever I click the “Update Database” button in WooCommerce it schedules all (or perhaps only “some”) of the actions for the exact time I click “Update”. This means all the tasks are immediately scheduled for the past, and never run.

    I can run them manually, but there are currently 83 and I don’t really want to do that every time.

    I’m not sure but it seems like some of the tasks are duplicated, having the same “Arguments”, I ran some tasks manually, for example, and now I have 90 Pending update actions (up from 83).

    I’ve searched through some similar issues with scheduled actions in the forums, but they don’t seem to have quite the same issue.

    Thanks,
    Klous-1

Viewing 5 replies - 1 through 5 (of 5 total)
  • Mirko P.

    (@rainfallnixfig)

    Hey @klous-1,

    These pending actions are cron jobs – which use WordPress cron (WP-Cron) to function. Sometimes, these cron jobs are not executed properly due to troubles with servers.

    If you keep seeing these problems with scheduled actions remaining in a pending state for a long time, I’d suggest reaching out to your web host’s support team to ask if there are any cron issues with your server.

    Thanks!

    Thread Starter klous-1

    (@klous-1)

    Hi Mirko,

    Thanks for replying, appreciate that.

    Okay I will discuss with them. I thought that as the scheduled time was set incorrectly in the first place (i.e. in the immediate past) it was perhaps not to do with WP-Cron.

    But ok, I’ll contact the host and see.

    Thanks ??

    Mirko P.

    (@rainfallnixfig)

    I’ll contact the host and see.

    Great! let’s see what they say – your other option would also be trying conflict testing to figure out if there is a tool or plugin blocking the scheduled actions.

    We’ll be here if and/or when you are ready to continue.

    Thanks.

    Hi @klous-1, as Mirko already suggested, it’s most likely an issue with your host.

    You can try to install this plugin it can report some common WP cron issues so you will get some insight faster than from your host ??

    Hi @klous-1

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, you were able to find a solution to your problem! If you have further questions, please feel free to open a new topic.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Scheduled Actions – Pending’ is closed to new replies.