• Resolved joy0114

    (@joy0114)


    Hi,

    I wonder why I’ve got some woocommerce cron tasks wihtout action (according WP Crontrol), for example:

    wc_admin_unsnooze_admin_notes
    woocommerce_tracker_send_event
    woocommerce_cleanup_rate_limits

    What are the consequences of these tasks not being carried out ?

    Thanks !
    Best regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @joy0114,

    The tasks you’ve mentioned are part of the WooCommerce system’s scheduled tasks, also known as cron jobs.

    1. The wc_admin_unsnooze_admin_notes job is responsible for managing admin notifications. More info: https://woocommerce.github.io/code-reference/classes/Automattic-WooCommerce-Admin-Notes-Notes.html
    2. The woocommerce_tracker_send_event job sends non-sensitive data about your store setup to WooCommerce to help improve our plugin. More info: https://woocommerce.github.io/code-reference/files/woocommerce-includes-class-wc-tracker.html and https://mainwp.com/what-data-does-woocommerce-usage-tracking-send-2/
    3. The woocommerce_cleanup_rate_limits job helps manage rate limiting on certain processes within WooCommerce. More info: https://woocommerce.github.io/code-reference/files/woocommerce-includes-class-wc-rate-limiter.html

    If these tasks are not carried out, it might affect the smooth functioning of your WooCommerce store. For instance, you might not receive important admin notifications, or your store’s data might not be accurately represented in our system, or certain processes might not be rate-limited properly.

    However, these tasks being listed without action in WP Crontrol does not necessarily mean they’re not being executed. It’s possible that they’ve already run or are scheduled to run at a later time.

    If you’re experiencing issues with these cron tasks, I recommend contacting your hosting provider to ensure that WP-Cron is properly configured and running as expected.

    I hope this provides some clarity. Please let us know if you have any other questions!

    Thread Starter joy0114

    (@joy0114)

    Hi Shameem,

    Thanks for your answer.

    However, these tasks being listed without action in WP Crontrol does not necessarily mean they’re not being executed. It’s possible that they’ve already run or are scheduled to run at a later time.

    Ok, but, if there is no action for a cron job… even if task is scheduled, it will not make something .
    For 1 and 3, is it normal that these scheduled tasks have no action ?

    WP-Cron is disabled and replaced with my hoster cron. It works like a charm, and all other tasks are executed, at least the ones with an action !
    Quite odd, these hooks without an action (to do nothing could also be an action).

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @joy0114,

    For 1 and 3, is it normal that these scheduled tasks have no action ?

    The tasks wc_admin_unsnooze_admin_notes (more info can be found here) and woocommerce_cleanup_rate_limits are designed to run automatically in the background. They may not have a specific action associated with them because their function is inherent in their name.

    WP-Cron is disabled and replaced with my hoster cron. It works like a charm, and all other tasks are executed, at least the ones with an action !

    Since you’ve replaced WP-Cron with your host’s cron and all other tasks are being executed, these tasks are likely being taken care of as well. More info:

    However, if you’re still concerned, you can contact your hosting provider to ensure these tasks are executed as expected.

    And if you’re noticing any issues with your WooCommerce store, please don’t hesitate to get back in touch. We’re here to help!

    Thanks!

    Thread Starter joy0114

    (@joy0114)

    Ok, Thanks a lot for your clarifications !

    Best regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cron tasks without action’ is closed to new replies.