>>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.

I use:

0-59/10 * * * * root lynx -dump http://servername/yourscript.php 1>/dev/null 2>&1

Assuming thr utility script is under your web server docroot.

- Julie

--> Julie Meloni
--> www.thickbook.com

Find "Sams Teach Yourself MySQL in 24 Hours" at

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to