Re: [GENERAL] Re: [PHP-DB] Re: [SQL] a script that queries database periodically
| From: | Dan Wilson | Date: | Mon, 04 Dec 2000 07:56:56 +0000 |
| Subject: | Re: [GENERAL] Re: [PHP-DB] Re: [SQL] a script that queries database periodically | ||
| References: | 1 2 3 4 5 | Groups: | php.db php.general |
| Request: | Send a blank email to php-db+get-4999@lists.php.net to get a copy of this message | ||
> Jason wrote:
> >
> > aolserver is a web/application server. PHP is a server-side scripting
> > language. Why exactly *should* it have a job scheduler?
> >
> > Some (such as myself) might also ask why should a web server have a job
> > scheduler, but that's a thread for a different list :)
>
> Because PHP is supposed to solve web development problems. And this is
> one of them. It's very useful.
I disagree! Cronjobs are not a web development problem. That is something
that should be handled on the server/machine side. PHP is purely designed
to dynamically create web pages. It has other things built into it, but
each one interfaces with the web page somehow. A cronjob doesn't use the
web at all. The web is an interactive thing and the whole purpose of a job
scheduler is to avoid interaction.
Sure a job scheduler is useful, but it is outside the scope and mission of
PHP.
-Dan