Re: Re: [PHP-DB] Re: [SQL] a script that queries database periodically - Mailing list pgsql-general

From Dan Wilson
Subject Re: Re: [PHP-DB] Re: [SQL] a script that queries database periodically
Date
Msg-id 009d01c05dc7$ccd59b80$078353d8@danwilson
Whole thread Raw
In response to Re: [SQL] a script that queries database periodically  ("Poul L. Christiansen" <poulc@cs.auc.dk>)
List pgsql-general
> 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


pgsql-general by date:

Previous
From: "Gordan Bobic"
Date:
Subject: v7.1 Beta?
Next
From: "Martin A. Marques"
Date:
Subject: Re: postgres blobs and PHP