[resolved] Scheduled posts keep missing schedule (3 posts)

  1. jrothra
    Posted 1 year ago #

    URL: http://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: http://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 http://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 (http://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.

  2. jrothra
    Posted 1 year ago #

    I tried again and it's still a problem. I have no idea how to fix it without messing with core code and subsequently affecting future updates that will negate any changes.

  3. Hardeep Asrani
    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Topic