Cron help needed!
Posted: Sun May 07, 2006 11:43 pm
I'm trying to set up POPfetcher to allow me to post from an autoresponder and I've hit a brick wall!
The autoresponder is sending fine.
When I type the following into my browser's address bar, the email is picked up and posted perfectly:
http://www.mydomain.com/blog/index.php? ... secretword
(mydomain and secretword are obviously replaced with the real ones!)
However, when I set up a cron job to externally grab the emails, like this,
05 * * * * /home/xxx/xxx-www/blog/index.php?/plugin/secretword
(xxx and secretword are replaced appropriately) I get an email saying:
/bin/sh: /home/xxxr/xxx-www/blog/index.php?/plugin/secretword: No such file or directory
I'm hosting with H4P and although the instructions they give for setting cron jobs is scant, I believe that the path is correct. I did try putting the full http:// path, but H4P rejected the cron.
I'm sure I'm missing something really obvious here. Any ideas what it might be?
Thanks,
Martin.
The autoresponder is sending fine.
When I type the following into my browser's address bar, the email is picked up and posted perfectly:
http://www.mydomain.com/blog/index.php? ... secretword
(mydomain and secretword are obviously replaced with the real ones!)
However, when I set up a cron job to externally grab the emails, like this,
05 * * * * /home/xxx/xxx-www/blog/index.php?/plugin/secretword
(xxx and secretword are replaced appropriately) I get an email saying:
/bin/sh: /home/xxxr/xxx-www/blog/index.php?/plugin/secretword: No such file or directory
I'm hosting with H4P and although the instructions they give for setting cron jobs is scant, I believe that the path is correct. I did try putting the full http:// path, but H4P rejected the cron.
I'm sure I'm missing something really obvious here. Any ideas what it might be?
Thanks,
Martin.