Re: a script that queries database periodically - Mailing list pgsql-sql

From Serge Canizares
Subject Re: a script that queries database periodically
Date
Msg-id 3A22C4BB.392DC02@ephilosopher.com
Whole thread Raw
In response to a script that queries database periodically  (Bernie Huang <bernie.huang@ec.gc.ca>)
List 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



pgsql-sql by date:

Previous
From: Mathijs Brands
Date:
Subject: Re: a script that queries database periodically
Next
From: Tom Lane
Date:
Subject: Re: count( distinct x )