Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-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

pgsql-sql by date

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

pgsql-general by date

Next:From: Nelio Alves Pereira FilhoDate: 2000-11-27 20:53:37
Subject: Rules
Previous:From: Rob BurneDate: 2000-11-27 20:20:49
Subject: Access Permissions/Security

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group