I needed to set up a
cron -- think "chronological" -- job for a person with a new WordPress blog. Why?
There's a feature in WordPress where you can
- send email to a secret email address
- WordPress checks the email
- then posts the email to the blog.
This means you can blog from anywhere you have an email connection, whether that's a cybercafe in Mali or on your Blackberry from the Plenary Hall floor at General Assembly. (I'm thinking more the second at the moment.)
But there's a hitch.
WordPress has to be triggered to check your email. You can do this manually by going to http://www.whereyourwordpressisinstalled.com/wp-mail.php (link to my wp-mail.php) but if you're going to do that, why not blog from a proper computer?
Can't you schedule the host computer to check the wp-mail.php at regular intervals, thus releasing the mail to be posted? Yes, that's what the
cron job is for. (Any time you get something automated, like a mailing list password reminder, I bet there's a
cron job behind it.)
Unfortunately, many cheap hosting services don't provide
cron. Clever WordPress people have created work-arounds that simulates
cron so when someone visits your site, your pent-up mail gets decanted. But these have their own problems, and I thought it was time to
- Time to see if the hosts I use have
- Learn it if they do
They do and I did. (This applies to everyone whose blog I've set up.)
More about how to do it tomorrow.