Re: process php script at regular intervals
| From: | Michael Hall | Date: | Mon, 03 Jun 2002 07:56:46 +0000 |
| Subject: | Re: process php script at regular intervals | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-100374@lists.php.net to get a copy of this message | ||
One way of doing this is to set up a cronjob that has Lynx call the
script.
There is a flag that is usually added as well ... I'm not sure right now
but it could be '-dump':
lynx -dump http://your/script/url.php
This has been covered a few times in the archive if you want to check the
details there.
This assumes that you are on a Linux/UNIX server, and that PHP is an
Apache module, not a standalone CGI installation (where you could call
the script directly without using Lynx).
Michael Hall
On Mon, 3 Jun 2002, daniel cozzolino wrote:
> I want to have a php script processed on a daily (eg 9am) interval. is
> there some way to automate this from within the script or do i need to
> schedule this with an external app?
>
> has anyone had any experience with this previously?
>
> thanks
> Daniel
>
>
>
>
--
--------------------------------
n i n t i . c o m
php-python-perl-mysql-postgresql
--------------------------------
Michael Hall ninti@ninti.com
--------------------------------