WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an event scheduled to fetch feeds from different sources at midnight. I believe for some reason it is not being triggered. I use Core Control plugin for testing. When I 'Run Now' through it, it works fine. What could be possible reason? Any hint that could facilitate me to get to the cause?

There is no argument to the handler and it is a reoccurring once daily task.

share|improve this question
up vote 3 down vote accepted

WP-Cron is not a guaranteed time task scheduler. The trigger for WP-Cron is somebody visiting the site itself, so if nobody visits the site at midnight, then the job doesn't run until somebody does visit the site later.

Similarly, if you use a whole page caching mechanism like WP-Super-Cache, then anonymous users will not really be "visiting" the site since they're getting cached pages. So that can impact WP-Cron's ability to run on time as well.

If you need to run timed events precisely, then you need to use a real cron mechanism instead.

share|improve this answer
Thanks a lot! Can you please comment on this related question? – a_fan Jul 25 '11 at 12:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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