Re: Re: [PHP-DB] Re: [SQL] a script that queries database periodically

From: "Dan Wilson" <phpPgAdmin(at)acucore(dot)com>
To: "Roberto Mello" <rmello(at)cc(dot)usu(dot)edu>, "Jason" <jason(at)jnj(dot)org>
Cc: "Poul L(dot) Christiansen" <poulc(at)cs(dot)auc(dot)dk>, "Bernie Huang" <bernie(dot)huang(at)ec(dot)gc(dot)ca>, "PHP_DB" <php-db(at)lists(dot)php(dot)net>, "PHP_General" <php-general(at)lists(dot)php(dot)net>, "PGSQL-SQL" <pgsql-sql(at)postgresql(dot)org>, "PGSQL-GENERAL" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Re: [PHP-DB] Re: [SQL] a script that queries database periodically
Date: 2000-12-04 07:56:56
Message-ID: 009d01c05dc7$ccd59b80$078353d8@danwilson
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-sql

> 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Joachim Jaeckel 2000-12-04 09:11:00 ECPG could not connect to the database.
Previous Message GH 2000-12-04 05:06:20 Re: Your RDBMS Survey ...

Browse pgsql-sql by date

  From Date Subject
Next Message S.F. Lee 2000-12-04 08:47:29 how to execute a C program via trigger ?
Previous Message Tom Lane 2000-12-04 00:04:36 Re: Rules with Conditions: Bug, or Misunderstanding