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
    Being a Dev Dad

    I get asked loads of questions every day but I'm always surprised that they're rarely questions about code or even tech -- many of the questions I get are more about non-dev stuff like what my office is like, what software I use, and oftentimes...

  • By
    Write Better JavaScript with Promises

    You've probably heard the talk around the water cooler about how promises are the future. All of the cool kids are using them, but you don't see what makes them so special. Can't you just use a callback? What's the big deal? In this article, we'll...

Incredible Demos

  • By
    GitHub-Style Sliding Links

    GitHub seems to change a lot but not really change at all, if that makes any sense; the updates come often but are always fairly small. I spotted one of the most recent updates on the pull request page. Links to long branch...

  • By
    Duplicate the jQuery Homepage Tooltips Using MooTools

    The jQuery homepage has a pretty suave tooltip-like effect as seen below: Here's how to accomplish this same effect using MooTools. The XHTML The above XHTML was taken directly from the jQuery homepage -- no changes. The CSS The above CSS has been slightly modified to match the CSS rules already...

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!