Try */1 * * * * php /home/harpreet/crontest.php
or */1 * * * * php ~/crontest.php
~ means your home directory.
I think this should work, every minute.
At 03:54 PM 4/16/02 +0000, Harpreet Kaur wrote:
>Can i run a php page using a crontab job. I am trying to do so but no
>luck. My cron job statement is :
>* * * * * lynx /home/harpreet/crontest.php
>Actually i want to run a script every 10 minutes to do some background job
>like we do in sql server. How can i do it with mysql and php.
>Help is appreciated,
>Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
>PHP Database Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php