Re: a script that queries database periodically

From: Serge Canizares <serge(at)ephilosopher(dot)com>
To: Bernie Huang <bernie(dot)huang(at)ec(dot)gc(dot)ca>, SQL <pgsql-sql(at)postgresql(dot)org>
Subject: Re: a script that queries database periodically
Date: 2000-11-27 20:31:55
Message-ID: 3A22C4BB.392DC02@ephilosopher.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Nelio Alves Pereira Filho 2000-11-27 20:53:37 Rules
Previous Message Rob Burne 2000-11-27 20:20:49 Access Permissions/Security

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2000-11-27 20:59:33 Re: count( distinct x )
Previous Message Rob Burne 2000-11-27 20:20:49 Access Permissions/Security