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
    fetch API

    One of the worst kept secrets about AJAX on the web is that the underlying API for it, XMLHttpRequest, wasn't really made for what we've been using it for.  We've done well to create elegant APIs around XHR but we know we can do better.  Our effort to...

  • By
    Responsive and Infinitely Scalable JS Animations

    Back in late 2012 it was not easy to find open source projects using requestAnimationFrame() - this is the hook that allows Javascript code to synchronize with a web browser's native paint loop. Animations using this method can run at 60 fps and deliver fantastic...

Incredible Demos

  • By
    Create Twitter-Style Dropdowns Using jQuery

    Twitter does some great stuff with JavaScript. What I really appreciate about what they do is that there aren't any epic JS functionalities -- they're all simple touches. One of those simple touches is the "Login" dropdown on their homepage. I've taken...

  • By
    Create a Context Menu with Dojo and Dijit

    Context menus, used in the right type of web application, can be invaluable.  They provide shortcut methods to different functionality within the application and, with just a right click, they are readily available.  Dojo's Dijit frameworks provides an easy way to create stylish, flexible context...

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!