
Originally Posted by
retched
Did you make the edit to your spiders file in the includes directory that I mentioned removing the line "wget" from the file?
Yes, I did, thank you, but that wasn't it. I just tracked down the "permission denied" error through a post I found with a Google search. If you don't specify which app you want to run your script it defaults to Shell, and when a php script is run as a Shell script it evidently produces that error. Unfortunately this did not end my problems. I tried about a dozen different ways to format the script command line and none of them worked correctly. After reading many posts in other places the one I ended up using that appeared to be exactly the way other people had gotten cron jobs to run on GoDaddy, but it didn't work for the Amazon script. The line I ended up with was:
Code:
/web/cgi-bin/php5 "$HOME/html/checkout_by_amazon.php?action=Everything" -O /dev/null
and the error that returned was as follows:
Code:
Status: 404 Not Found
Content-type: text/html
No input file specified.
Anyway I ended up trying another suggestion I found which was as follows:
Code:
/usr/bin/curl http://www.mysite.com/checkout_by_amazon.php?action=Everything -O /dev/null
This returns the following and I have no idea if this means it's working or not.
Code:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
Thanks for your help.
Bill
Bookmarks