PDA

View Full Version : WordPress Postie cron job



Hwyman
07-13-2009, 08:43 PM
Greetings,
Postie example crob jobs to check email are as follows:

Setup a cronjob to pull down the get_mail.php Examples:

*/5 * * * * /usr/bin/lynx --source http://blog.robfelty.com/wp-content/plugins/postie/get_mail.php >/dev/null 2>&1

This fetches the mail every five minutes with lynx

*/10 * * * * /usr/bin/wget -O /dev/null http://blog.robfelty.com/wp-content/plugins/postie/get_mail.php >/dev/null 2>&1

This fetches the mail every ten minutes with wget

If my blog is in the structure of a sub domain I should follow like the example above I assume, but would I start my line of code /usr/bin/wget -O or just wget -O

appreciate your help thanks.