Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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
add comment

2 Answers

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
add comment

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
add comment

Your Answer

 
discard

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.