action scheduler – Past Due Actions

#449710
  • Resolved Roger
    Rank Math free

    In my site I have 252 past-due-actions all are relating to Rank Math

    Hook – rank_math/analytics/get_inspections_data
    Status – pending

    Is this a problem?

    Thanks
    Roger

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    The notice is not an error but a message stating that there are pending Action Scheduler actions that were not completed.

    If you check the actions past due you’ll see that are not showing only the actions from our plugin but also from others that have missed their schedule.

    This happens because we have updated the ActionScheduler library to one of the latest versions that include this new view in the actions list.

    You can read more about this update from that library and the changelog here: https://github.com/woocommerce/action-scheduler/releases/tag/3.5.0

    I hope that helps.

    Thank you.

    Hi,

    I have the same issue. 397 past due actions for Rank Math – over 1 & 1/2 days.

    The error say that “something may be wrong’.

    Do you have nay further information that may help?

    Thanks
    Travis

    Anas
    Rank Math business

    Hello Travis Nadge,

    The notice is not an error, but a message stating that there are pending Action Scheduler actions that were not completed.

    You can follow either of the following steps to remove the warning:

    1. Please add the following filter to remove the warning:

    
    add_filter( 'action_scheduler_pastdue_actions_check_pre', '__return_false' );
    

    1.1 Here is a tutorial on how to do it:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    2. Open the Action Scheduler page, click on the Pending tab, Select all and delete them using the Bulk Action dropdown:
    https://i.rankmath.com/XBucZ8
    Normal WordPress installation path:
    /wp-admin/admin.php?page=wc-status&tab=action-scheduler

    WordPress installation with WooCommerce in it:
    /wp-admin/admin.php?page=wc-status&tab=action-scheduler

    3. You can set up a real cron job for the same:
    https://www.siteground.com/tutorials/wordpress/real-cron-job/
    https://www.google.com/search?q=wp+cron+replace+with+real+cron

    Please stay advised that the Action Scheduler will not run if there are no visitors to the site (just like WP’s own cron). Even Action Scheduler, the library that is used in the RM plugin, states that “Actions that are past-due have missed their scheduled date; because of how WP Cron works, it is normal to have some past-due actions.”

    I hope that helps.

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

The ticket ‘action scheduler – Past Due Actions’ is closed to new replies.