Wednesday, October 26, 2022
HomeWordPress DevelopmentCron job for wp_cron.php operating however not publishing scheduled posts

Cron job for wp_cron.php operating however not publishing scheduled posts


I’ve arrange my web site to run the WordPress cron (wp-cron.php) as an actual cron job each 10 minutes and added outline(‘DISABLE_WP_CRON’, true); to my wp-config.php file.

It appears the cron is operating as anticipated, however scheduled posts are usually not printed as they need to. I get the missed scheduled error.

I haven’t got any caching plugins however I do use Cloudflare. I can see the requests to wp-cron.php shouldn’t be cached by Cloudflare and the response is returned by the origin server.

  1. Any thought why the scheduled posts are usually not being printed when they need to be?
  2. Is 10 minutes an inexpensive interval to run the cron and nonetheless anticipate scheduled posts to be printed?
  3. If the problem is caching, wouldn’t it assist so as to add a timestamp to the cron job, and are there any dangers concerned with doing this?
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments