Hello again all,
Hoping someone can shed some light on this one for me.
I have a php file i want to run as a cron job. However the first port of call is to get the php file to execute on the server. Im having more trouble with this than i had hoped for.
If i do lynx http://www.mydomain.com/file.php it works fine and the script runs no problems.
however, due to DNS setup issues, i cant use the http:// part......but instead want to use the path to the file instead.
if i do "lynx /dir/to/file.php" then all i get is the code istelf converted into an html page, rather than the script actually executing.
I tried "lynx -source /dir/to/file.php" but all that did was spit the code back at me as well.
Im hoping someone can shed some light on how i might be able to do this..
Many thanx
Dave