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
    How I Stopped WordPress Comment Spam

    I love almost every part of being a tech blogger:  learning, preaching, bantering, researching.  The one part about blogging that I absolutely loathe:  dealing with SPAM comments.  For the past two years, my blog has registered 8,000+ SPAM comments per day.  PER DAY.  Bloating my database...

  • 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
    Disable Autocomplete, Autocapitalize, and Autocorrect

    Mobile and desktop browser vendors do their best to help us not look like idiots by providing us autocomplete, autocorrect, and autocapitalize features.  Unfortunately these features can sometimes get in the way;  we don't always want or need the help they provide.  Luckily most browsers allow...

  • By
    MooTools Clipboard Plugin

    The ability to place content into a user's clipboard can be extremely convenient for the user. Instead of clicking and dragging down what could be a lengthy document, the user can copy the contents of a specific area by a single click of a mouse.

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!