Fix WordPress CRONs on Media Temple (dv) Servers

By  on  

When I switched from Dreamhost shared hosting to Media Temple (dv) server hosting, I had a hell of a time trying to figure out why CRONs weren't working correctly on the website. I had database backups being sent via CRON jobs so making sure CRONs were working was imperative. What's great is that the way to make these Wordpress CRONs work was by...setting up a CRON.

To get things working, you should:

  1. Log into your Media Temple (dv) control panel.
  2. Navigate to the domain and click the "Crontab" icon.
  3. Click "Schedule a Task"
  4. Configure the time and frequency of the CRON to any way you'd like.
  5. Set the "command" value to:
    wget http://12.23.56.78/wp-cron.php
  6. Replace the fake IP in the command above with the IP address of your website.

That's all! Hitting the wp-cron.php file with the CRON will ensure you database backups and other scheduled tasks will run at proper intervals!

Recent Features

  • By
    JavaScript Promise API

    While synchronous code is easier to follow and debug, async is generally better for performance and flexibility. Why "hold up the show" when you can trigger numerous requests at once and then handle them when each is ready?  Promises are becoming a big part of the JavaScript world...

  • By
    An Interview with Eric Meyer

    Your early CSS books were instrumental in pushing my love for front end technologies. What was it about CSS that you fell in love with and drove you to write about it? At first blush, it was the simplicity of it as compared to the table-and-spacer...

Incredible Demos

Discussion

  1. Roozbeh

    How’s the service been like for you. I have a few sites that I want to move over to Media Temple from DH. I am shopping around right and I wanted to ask your opinion. thanx

  2. @Roozbeh: Quality is what I expected but I think I’m going to move away, at least from (dv). It’s $50 and I don’t think I’d like to save on some cost.

  3. Why are you using an IP-address for wget?

  4. Randie

    Why did you move away from Dreamhost? Were you not happy with their service? Or did you outgrow shared hosting?

Wrap your code in <pre class="{language}"></pre> tags, link to a GitHub gist, JSFiddle fiddle, or CodePen pen to embed!