Action Scheduler Notice

#453899
  • Resolved Gopi Mundkur
    Rank Math free

    Hello,

    I suddenly keep getting this Action Scheduler notice every day! How can it be done away with? Kindly advise.

    Thank you,

    Gopi Mundkur

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

    Thanks for contacting us, and sorry for any inconvenience that might have been caused due to that.

    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.”

    Hope that helps, and please do not hesitate to let us know if you need our assistance with anything else.

    Thank you.

    Thank you. I added the filter to function.php of the child theme. The issue is resolved.

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    Thank you.

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

You must be logged in to reply to this ticket.