• I just reduced the second interval to 300 but now it doesn’t work at all. Also, I subsequently disabled WP CRON and setup cron job for the wp-cron.php?doing_wp_cron file and still nothing.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author johnh10

    (@johnh10)

    Use a plugin like WP-Crontrol to verify your cron is working properly. If it is, you should see the event for APS in the cron events and when it will fire next.

    Thread Starter wpbroken2much

    (@wpbroken2much)

    Looks like the cron is working but it just doesn’t always trigger the scheduler. I am looking at an interval of 300 seconds which should result in a new post every 5 minutes, but its been 8 minutes since the last post. The post before the last took at least 10 possibly 15 minutes.

    Usually, the time for firing next is always less than the current time but it fails to fire.

    Also, if I have 50,000 posts in draft status and want them all changed to published in 60 days what second interval do you recommend?

    Thread Starter wpbroken2much

    (@wpbroken2much)

    According to Crontrol the plugin last ran1 hour 20 minutes ago even though it should run every 100 seconds. However, my cPanel cron job only runs every 4 minutes, so there should be a new post every 4 minutes. Is this cPanel cron job sufficient for this:

    wget -q -O – https:/example.com/wp-cron.php?doing_wp_cron >/dev/null 2>&1

    Plugin Author johnh10

    (@johnh10)

    If the cron events are now showing negative times, then the cron jobs are not working properly. Your cron command will depend on your server and setup. See if you can verify it from the command line, or ask your host for help.

    Thread Starter wpbroken2much

    (@wpbroken2much)

    It seems like the following checkbox causes recycling to fail:

    If checked, recycled posts will be re-saved as “publish” to trigger any hooks. If not, only the post date is changed to NOW.
    This is useful if using another plugin or code that “does something” when a post is published.

    Plugin Author johnh10

    (@johnh10)

    Sure, it’s possible for your server to run out of memory if you have too many posts. WordPress will try to search them all depending on your settings. Check your server’s log file.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Suddenly Stopped Working’ is closed to new replies.