Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

action_scheduler/migration_hook Running Every Minute or Less | Also Stuck in Pending #979

Closed
puppacito opened this issue Sep 2, 2023 · 3 comments

Comments

@puppacito
Copy link

I've had woocommerce for a few years now and have updated it continuously, so I'm not sure how old this issue is. I recently cleared the log of over 24,000 instances of this, so I have to assume its been going on for a little while now. I have two actions stuck in pending that are also running in a perpetual loop. Here's the screenshots I am seeing, as well as the database. Any help is greatly appreciated

Screenshot 2023-09-01 224646
Screenshot 2023-09-01 224704
Screenshot 2023-09-02 112010

@coreymckrill
Copy link
Contributor

@puppacito This is a weird old issue that we've never been able to replicate consistently. A couple of things to check on:

  • Since you can poke around in the database with phpMyAdmin, do you have any posts in the posts table that are of the type scheduled-action?
  • If you go to WooCommerce > Settings > Status > Logs, are there any error logs related to Action Scheduler?

@coreymckrill
Copy link
Contributor

If there aren't any scheduled-action posts, and you have access to WP CLI on your site, you could run this command to make it stop:

wp option update action_scheduler_migration_status complete

@lsinger
Copy link
Contributor

lsinger commented Sep 29, 2023

We'll close this issue for now in lieu of #990. If there's more to this that's not covered there, please feel free to reopen this discussion or open a new issue.

@lsinger lsinger closed this as completed Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants