Received: from crusher.wdsec.com ([206.215.34.17]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eARKW9t73188 for ; Mon, 27 Nov 2000 15:32:10 -0500 (EST) (envelope-from serge@ephilosopher.com) Received: from landru.wdnis ([192.157.171.30]) by crusher.wdsec.com (8.9.3/8.9.3) with ESMTP id PAA29028; Mon, 27 Nov 2000 15:32:20 -0500 (EST) Received: from ephilosopher.com (crusher [206.215.34.17]) by landru.wdnis (8.8.8+Sun/8.8.8) with ESMTP id PAA09849; Mon, 27 Nov 2000 15:32:19 -0500 (EST) Message-ID: <3A22C4BB.392DC02@ephilosopher.com> Date: Mon, 27 Nov 2000 15:31:55 -0500 From: Serge Canizares X-Mailer: Mozilla 4.72 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Bernie Huang , SQL Subject: Re: a script that queries database periodically References: <3A22B485.E8963417@ec.gc.ca> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200011/255 X-Sequence-Number: 286 Why not use perl with DBI? If you know php, perl is just as easy. Bernie Huang wrote: > I was thinking of writing up a PHP script and put into crontab, which is > somehow easier than a shell script, but PHP is an apache module, so I > cannot execute PHP under crontab (it has to be executed in a browser > right?). > > Thanks. > > - Bernie