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

Поиск
Список
Период
Сортировка
От Dan Wilson
Тема Re: Re: [PHP-DB] Re: [SQL] a script that queries database periodically
Дата
Msg-id 009d01c05dc7$ccd59b80$078353d8@danwilson
обсуждение исходный текст
Ответ на Re: [SQL] a script that queries database periodically  ("Poul L. Christiansen" <poulc@cs.auc.dk>)
Список 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 по дате отправления:

Предыдущее
От: "Gordan Bobic"
Дата:
Сообщение: v7.1 Beta?
Следующее
От: "Martin A. Marques"
Дата:
Сообщение: Re: postgres blobs and PHP