Support » Fixing WordPress » Post by email problem with CRON Jobs

Viewing 4 replies - 1 through 4 (of 4 total)
  • Actually, I just realized (after surfing several sites) that this has nothing to do with the CRON job. It has to do with wp-mail.php writing a new file every time it is accessed. I looked at the code and could not see where to change it so that it did not write a new page every time it is viewed.

    I should amend the original post, as the files created are not actually html files with actual web addresses. They are all ascii text files in the root directory containing the text “There doesn’t seem to be any new mail.”

    Icck. That’s ugly. I just started using WP today, so I don’t have any sort of suggestion, but I look forward to hearing about a solution.

    I have to apologize to the creators of Word Press. It’s not wp-mail.php that’s got the problem, it’s the help file for posting by email. I just found a working solution on http://www.gnu.org/software/wget/manual/wget.html

    The cron job syntax that should be suggested is “wget -N http://yourwebdomain/installdir/wp-mail.php“. This works perfectly and doesn’t create hundreds of files in your root directory.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Post by email problem with CRON Jobs’ is closed to new replies.