Try putting this in your crontab, to access the webserver in order to execute
the script.
 lynx --dump http://www.yourserver.com/my_script.php

--Joe

farhat daud wrote:

> i have prepared a php script which takes input from a database and sends it
> to certain email addresses.
> this script is working when i manually execute it.
> i want to execute it daily at a fixed time ...so that the whole process is
> automated.
> i am running this on a red hat kinux server with apache running.
> at present i have tried to run it thru shell script (editing crontab)but the
> shell script does not recognise a php file.
> what is the alternative?
> any help would be greatly appreciated.
> thanks
> please reply to [EMAIL PROTECTED]
>
> shabbar
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to