• My website is a WordPress site. When I log in as administrator and go to the Site Health page from the Dashboard, the following issue is detected:

    Site Health Status

    The site health check shows information about your WordPress configuration and items that may need your attention.

    1 recommended improvement

    Recommended items are considered beneficial to your site, although not as important to prioritize as a critical issue, they may include improvements to things such as; Performance, user experience, and more.

    A scheduled event has failed (Performance)

    The scheduled event, wp_privacy_delete_old_export_files, failed to run. Your site still works, but this may indicate that scheduling posts or automated updates may not work as intended.

    I have installed two plugins, Action Scheduler and Missed Scheduled Posts Publisher by WPBeginner, but they do not seem to have any effect.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator t-p

    (@t-p)

    The Schedule posts are published through the WordPress Cron, and the WordPress Cron relies on traffic/visitors on the website to keep track of time and execute scheduled tasks. To put it otherwise, unlike regular cron jobs, which run at specific time based on the server settings, the WP-Cron function runs every time someone visits the WordPress powered website. This makes a WordPress site run properly on different kinds of server setups because it eliminates a lot of server-specific requirements. On every page load, WordPress checks if there is a need for WP-Cron to run. If there is a need, then it tries to make a request over HTTP to the wp-cron.php file. So if your website does not have any visitor at the scheduled time of the post the Cron will not run and in turn, the post will not be published. However, the missed Cron will automatically run when a user visits your website.

    Thread Starter groucho43

    (@groucho7)

    Thank you very much for youe most profound and eye-opening explanation. However, I did not ask for a scholarly paper nor for a learned exposé about WP-Cron, I requested step-by-step instructions telling me what to do so that my website’s Site Health page no longer displays the “Scheduled event has failed” message.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Scheduled event has failed’ is closed to new replies.