Received: from thor.tht.net (thor.tht.net [209.47.145.4]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eB4FW7061011; Mon, 4 Dec 2000 10:32:07 -0500 (EST) (envelope-from phpPgAdmin@acucore.com) Received: from mail.fiber.net (root@mail.fiber.net [216.83.130.4]) by thor.tht.net (8.9.3/8.9.3) with ESMTP id CAA36596; Mon, 4 Dec 2000 02:59:38 GMT (envelope-from phpPgAdmin@acucore.com) Received: from danwilson (bbudnick.employees.fiber.net [216.83.131.7]) by mail.fiber.net (8.9.3/8.9.3) with SMTP id XAA17518; Sun, 3 Dec 2000 23:58:04 -0700 (MST) Message-ID: <009d01c05dc7$ccd59b80$078353d8@danwilson> From: "Dan Wilson" To: "Roberto Mello" , "Jason" Cc: "Poul L. Christiansen" , "Bernie Huang" , "PHP_DB" , "PHP_General" , "PGSQL-SQL" , "PGSQL-GENERAL" References: <3A22B485.E8963417@ec.gc.ca> <3A22D5C7.2030502@cs.auc.dk><3A22D8AB.47A873F2@cc.usu.edu> <20001127163640.A29213@jnj.org> <3A22F80F.BF92602F@cc.usu.edu> Subject: Re: Re: [PHP-DB] Re: [SQL] a script that queries database periodically Date: Sun, 3 Dec 2000 23:56:56 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200012/73 X-Sequence-Number: 1261 > 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