I have created a cron job to run wp-cron.php for me but I am seeing in my FPM logs where it's still running. From what I understand, is that with the cron job it wouldn't be hitting FPM to create any logs.

Is there a way to trace this and figure out whats running the file?

  • Where did you define DISABLE_WP_CRON? – s_ha_dum Mar 7 '14 at 15:52
  • @s_ha_dum In wp-config.php – kel Mar 7 '14 at 16:23
  • Try if (DISABLE_WP_CRON) echo 'disabled'; in your theme header.php. Do you get output? – s_ha_dum Mar 7 '14 at 16:39
  • Yes, it echos disabled. – kel Mar 7 '14 at 16:42
  • What does your cron job look like? – Otto Mar 7 '14 at 20:08

If what you are seeing are hits to /wp-cron.php, there is nothing really that prevents a plugin or malicious bots from making a request to that file, with or without DISABLE_WP_CRON set to true, but with it set to TRUE the actual cron process should be killed.

| 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.