I'm currently using a scripts which grabs headlines from a newssite. After a couple of adjustements in the retrieved information, the scripts stores the adjusted information in a file. This all works fine. When I call this script in my own webbrowser, there is no problem. It makes sure the new information is stored in the file.
You can image that a script like this should be run a couple of times a day. I'm doing this manually right now. So I thought crontab would be the answer.
This is what I did:
1: crontab -e
2: 0 /2 lynx -dump http://www.someaddress.com/script1.php
This should execute the script called script1.php on http://www.someaddress.com/ every 2 hours. It seems to execute it, but not like when I execute it within my webbrowser. It doesn't fill the file with the adjusted information. And yes, the file which is supposed to be filled with the information has all the rights needed.
I tried to explain my problem in the best way I could. I hope someone has an answer for my problem.