Re: a script that queries database periodically

Serge Canizares <serge@ephilosopher.com>

From: Serge Canizares <serge@ephilosopher.com>
To: Bernie Huang <bernie.huang@ec.gc.ca>, SQL <pgsql-sql@postgresql.org>
Date: 2000-11-27T20:31:55Z
Lists: pgsql-general, pgsql-sql
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