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?


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.

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

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