Re: Run php page automatically
| From: | Jon Farmer | Date: | Fri, 21 Dec 2001 09:35:16 +0000 |
| Subject: | Re: Run php page automatically | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-15175@lists.php.net to get a copy of this message | ||
> it's better to do something like
>
> 0,10,20,30,40,50 * * * * /usr/bin/php -q
> /home/you/yourscript.php > /dev/null
or even
*/10 * * * * /home/you/yourscript.php > /dev/null
with the first line of you php script being
#!/path/to/php -q