Running Cron to Blog by Email
I now have blog-by-email fully working in order run the update script
automatically.
Every time I send a new blog by email, the script “wp-mail.php” needs to
be run to update the blog with the new entry. In order to have the
script run periodically, I used the ‘cron’ command
to invoke the script every few
minutes. The command I used to invoke the script was the following:
wget -O /dev/null http://fakebucket.com/blog/wp-mail.php 2>/dev/null
wget: is a command to retrieve a web and saves as a file.
‘-O /dev/null’: means save the the retrieved page to ‘null’, or in
otherwords, get rid of what has been retrieved.
‘2>/dev/null’ means cron should through away the command output.