• Resolved cosmoweb

    (@cosmoweb)


    Hi,

    in Tools -> Scheduled Actions

    I see 13704 Scheduled Actions Complete

    like this:

    Hook: MailChimp_WooCommerce_Single_Order

    Status: complete

    Can I remove to clean database?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author ryanhungate

    (@ryanhungate)

    @cosmoweb the Action Scheduler is supposed to trash everything itself after a month of being finished. Was there anything in particular you were trying to do, or was it getting in the way of anything user facing?

    Also – please note that the Action Scheduler version 3 will be used in our plugin ( and others using the scheduling system ) in an upcoming release, and this may also solve the issue you’re describing. I would probably hold off till this is released but if you need to do something sooner, I don’t really see the harm in deleting those records no.

    Thread Starter cosmoweb

    (@cosmoweb)

    Hi @ryanhungate thanks for reply.

    Can you write query to remove all Scheduled Actions Complete?

    Thank you so much!

    Plugin Author ryanhungate

    (@ryanhungate)

    @cosmoweb you can navigate to the admin area and do a bulk delete through the UI in this section:

    wp-admin/admin.php?page=wc-status&tab=action-scheduler&status=complete

    If you feel like there should be a “clean all completed items” action for this plugin, I think the best thing to do would be to reach out to their plugin team directly https://github.com/woocommerce/action-scheduler and tell them what’s on your mind. Maybe they have a hook that would make sense to delete them right away vs. keeping them in the database.

    Thanks for reaching out – we’ll be sure to pass this information along as well.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Scheduled Actions Complete, can I remove?’ is closed to new replies.