W
W
WebforSelf2021-11-30 15:43:18
Debian
WebforSelf, 2021-11-30 15:43:18

Question about server cron in Wordpress?

The question of such a plan. I use server cron for WP site
DISABLE_WP_CRON - true is worth it.

*/2 * * * * /usr/local/bin/wp cron event run --due-now --path=/var/www

Through the server on debian, I run a cron that updates all events in WP.

But the problem of overdue records remains. installed WP Control, if I manually click "launch now" then the post is published fine.

Apparently the cron wedges somewhere and it does not update the events. I execute the cron command through the console.

Success: Executed a total of 3 cron events. (performs 3 events)

That is, everything looks fine. In general, all this is strange, and how can cron be logged, why it does not update the publish_future_post request

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question