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

Is there a WordPress plugin that can auto execute php script on a specific time? Or an other way to do this?

At this moment I execute every 30 minutes (from 00:00 to 08:00) a php script with cpanel (Cronjobs). Is there some way to handle this in WordPress itself?

share|improve this question

WordPress has its own built in Cron system. It isn't true Cron, it comes with its own caveats, but there's an excellent article here which might point you in the right direction.

share|improve this answer
Any particular reason for the downvote? – dunc Jul 24 '12 at 14:03

Unfortunately no. Your CPanel's cron will fire at your mentionned time without any issues. However, using WordPress' cron, it will fire only when someone visits your website.

share|improve this answer
Often, this is enough, or better, than a real cron. Why have your website doing things when nobody is looking at it? – Otto Jul 24 '12 at 13:59

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.