I run a number of other mini blogs out there which aggregate data from one or multiple sources. I could never get WP-o-Matic or WP Robot to run cron jobs correctly in cPanel. No matter what I did I always got the error: No such file or directory.
A simple fix to this error is adding the code ” wget -O /dev/null ” before the URL of your cron job when typing it into cPanel.
With just the URL cPanel does not know which program to use. In this case ‘wget’ is the program. Since the URL actually returns no output (for the user or for wget), wget wants to write an empty file to your hosting home directory. The ‘ -O /dev/null ‘ option tells wget to write that file to ‘nowhere’ so you don’t get a bunch of empty files cluttering up your home directory and using up inodes.
Happy Automated Blogging!
Read More



Recent Comments