Re: Re: [PHP-DB] Re: [SQL] a script that queries database periodically
Dan Wilson <phppgadmin@acucore.com>
From: "Dan Wilson" <phpPgAdmin@acucore.com>
To: "Roberto Mello" <rmello@cc.usu.edu>, "Jason" <jason@jnj.org>
Cc: "Poul L. Christiansen" <poulc@cs.auc.dk>, "Bernie Huang" <bernie.huang@ec.gc.ca>, "PHP_DB" <php-db@lists.php.net>, "PHP_General" <php-general@lists.php.net>, "PGSQL-SQL" <pgsql-sql@postgresql.org>, "PGSQL-GENERAL" <pgsql-general@postgresql.org>
Date: 2000-12-04T07:56:56Z
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