Viewing 8 replies - 1 through 8 (of 8 total)
  • mother.of.code

    (@imazed)

    The Mother of Code

    Hi there! Thank you for the lovely video, it helps so much when folks do this so I’m very appreciative ??

    I’d be interested to see whether there are any stuck scheduled actions that relate to the import you’re trying to do. Can you go to WooCommerce > Status > Scheduled Actions and run any stuck item that you find?

    Thread Starter stevewild7

    (@stevewild7)

    @stevewild7 the Action Scheduler requires WP-Cron to run – does the new server you migrated to have that disabled?

    You can check if WP Cron is enabled by going to WooCommerce > Status, in the WordPress environment section.

    mother.of.code

    (@imazed)

    The Mother of Code

    In addition to what Jeff mentioned, you can install [WP Crontrol](https://www.ads-software.com/plugins/wp-crontrol/) to get more insight into what’s happening with your site’s cron jobs.

    @jeffstieler Thank you for your reply. I have WP-Cron enable on my testing server.

    I have the same issue. I have pending actions, for example when a user makes an order on our website.
    I have wc_admin_unsnooze_admin_notes action too in the pending scheduled action which appears every so often. What does the action do and can I cancel it OR stop it if it is not necessary?

    My question is really simple: Can pending action be run automatically by the system so that stats appear in Woocommerce Dashboard and Woocommerce Analytics panels?

    What is the process to follow to ensure this is done automatically OR do I have to ru the actions manually every time?

    Thank you for your help and reply in advance and Merry Christmas to every Woocommerce users and developers?

    Best, Andrea

    • This reply was modified 5 years, 3 months ago by iamthefixer.

    @imazed thank you for suggesting WP Control plugin.
    So that I am clear: WP Control plugin lets you schedule actions: like wp_version_check, wp_update_plugins, etc.

    Now, I have orders coming in every day….the associated actions recorded in Woocommerce > Status > Scheduled Actions are wc-admin_import_order and wc-admin_import_customers

    After an order is made on our website, wc-admin_import_order and wc-admin_import_customers are set as pending actions in Woocommerce > Status > Scheduled Actions….Why?

    Can these actions be run by Woocommerce Admin automatically!!?? In essence, orders come in and no stats appear!!!!

    Thank you for your understanding and support in advance. Merry Christmas everyone.

    Best, Andrea

    Hello @iamthefixer,

    I have wc_admin_unsnooze_admin_notes action too in the pending scheduled action which appears every so often. What does the action do and can I cancel it OR stop it if it is not necessary?

    Some of the notices that WooCommerce Admin displays can be snoozed (“remind me later” functionality). The wc_admin_unsnooze_admin_notes action is recurring, so Action Scheduler recreates the job each time it completes. You should be able to delete or cancel the job from WooCommerce > Status > Scheduled Actions.

    After an order is made on our website, wc-admin_import_order and wc-admin_import_customers are set as pending actions in Woocommerce > Status > Scheduled Actions….Why?

    Can these actions be run by Woocommerce Admin automatically!!??

    WooCommerce Admin will schedule these customer and order update actions when you receive new orders – these update the tables used for Analytics.

    Pending jobs should be run automatically. If your pending actions never complete, that indicates there is a problem with WP-Cron on your system. Using Crontrol, do you see a action_scheduler_run_schedule hook scheduled to run every minute when you go to Tool > Cron Events?

    If you’re not worried about troubleshooting WP-Cron in your testing environment, you can manually trigger the action_scheduler_run_schedule event from Crontrol or use wp cli to run pending actions: wp action-scheduler run.

    Moderator Hari Shanker R

    (@harishanker)

    Hey @iamthefixer

    Just checking-in on this for you. Were you able to get to the bottom of this?

    Since we haven’t heard from you in a while, I’m going to mark this topic as Resolved. Let us know if you keep running into troubles. You can either reply here to follow-up with the same problem, or create a new thread to report your troubles to us.

    All the best!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Not pulling in new order data’ is closed to new replies.