I have seen many posts about this topic, and have tried to follow ways to remedy this, but I can't seem to get it to work. Any help would be appreciated.
I can run my script fine through a browser, but I want to automate it to run hourly. I have tried adding it to my cron process, but it will not work. I have tried to manually run the following command when I am in the directory with the file...
wget ./check_forums.php3
I get this error returned:
--17:32:59-- http://.:80/check_forums.php3
(try:20) => `check_forums.php3.1'
Connecting to .:80... connected!
HTTP request sent, awaiting response...
Read error (Connection reset by peer) in headers.
Giving up.
I have also tried:
lynx -dump ./check_forums.php3
It runs and displays the code in the telnet session, but doesn't generate a logfile entry like it would if run through a brower.
I am pretty new to php, so any help would be great.
Additional Info:
Running BSD, on a "vserver" with hostpro.com.
I have chmod'd the file to 775.
Thanks,
Don