• Resolved jrothra

    (@jrothra)


    URL: https://www.johnrothra.com

    I’ve had three posts in a row miss their scheduled publication date and time. I have to go to the dashboard, go to edit the post, then click “Update,” which then publishes it and submits it to all social media. Before that it’s listed by WP as “missed schedule.”

    I googled a fix and followed the steps outlined here: https://www.trickspanda.com/2014/03/fix-missed-schedule-posts-wordpress/

    At the top of the wp-config file I inserted this code: define('DISABLE_WP_CRON', true);

    I then setup a cron job via cPanel for every five minutes, inserting this in the command line (per the instructions): wget -O /dev/null https://www.johnrothra.com/blog/wp-cron.php (the location of my wp-cron file).

    However, this didn’t work. Two questions:

    1. I have pretty permalinks using the “Post name” version (https://www.johnrothra.com/sample-post/). That has affected other things (e.g., the feed, located in /blog/feed/ but the URL to access it is johnrothra.com/feed/). Would this also affect the command I insert in the cron job (that is, leave out /blog)?

    2. If that isn’t an issue, how do I fix this? Because I can’t always log in and publish the posts, which I often write late at night to be published the next day or days later.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Scheduled posts keep missing schedule’ is closed to new replies.