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?

  • 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 '17 at 19:12
  • No there is no password protection. – Roger Wayne Jun 13 '17 at 19:24
  • Oh, i never set correct timezone in Wordpress. – Roger Wayne Jun 13 '17 at 19:34
  • Shall the wordpress timezone and server timezone be same? – Peeyoosh Kumar May 7 '18 at 16:34

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

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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