2

Cron is not working as expected. If i schedule post or Event Manager event it never get published if the site is accessed after published time.

If i go to http://somedomain.tld/wp-cron.php?doing_wp_cron it's empty instead debugging is set on. Should it be empty or should it display some errors if there is any?

Error log is empty.

WP Crontrol plugin displays cron jobs.

enter image description here

Any hint what to check next?

4
  • is the "wp-cron.php" publicly accessible ? e.g. if there is a password protection with .htaccess file, WordPress cannot acces is own wp-cron.php
    – mmm
    Jun 13, 2017 at 19:12
  • No there is no password protection. Jun 13, 2017 at 19:24
  • Oh, i never set correct timezone in Wordpress. Jun 13, 2017 at 19:34
  • Shall the wordpress timezone and server timezone be same? May 7, 2018 at 16:34

1 Answer 1

3

Check the Wordpress timezone setting before ripping your hair or making any big changes to files.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.