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
    Serving Fonts from CDN

    For maximum performance, we all know we must put our assets on CDN (another domain).  Along with those assets are custom web fonts.  Unfortunately custom web fonts via CDN (or any cross-domain font request) don't work in Firefox or Internet Explorer (correctly so, by spec) though...

  • By
    CSS 3D Folding Animation

    Google Plus provides loads of inspiration for front-end developers, especially when it comes to the CSS and JavaScript wonders they create. Last year I duplicated their incredible PhotoStack effect with both MooTools and pure CSS; this time I'm going to duplicate...

Incredible Demos

  • By
    CSS Scoped Styles

    There are plenty of awesome new attributes we've gotten during the HTML5 revolution:  placeholder, download, hidden, and more.  Each of these attributes provides us a different level of control over an element on the page, but there's a new element attribute that allows...

  • By
    Prevent Page Zooming in Mobile Browsers

    Ever since I got my iPhone, I've been more agreeable in going places that my fiancee wants to go. It's not because I have any interest in checking out women's shoes, looking at flowers, or that type of stuff -- it's because my iPhone lets...

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!