From: | Jaume Sabater <jsabater(at)gmail(dot)com> |
---|---|
To: | Shruthi A <shruthi(dot)iisc(at)gmail(dot)com> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: Can i write a time-trigger? |
Date: | 2009-11-16 14:17:47 |
Message-ID: | 3786f7bb0911160617h56a59ffeqeeb5292aa8c94515@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
On Mon, Nov 16, 2009 at 2:42 PM, Shruthi A <shruthi(dot)iisc(at)gmail(dot)com> wrote:
> Is it possible in postgres to write a trigger that is fired at a certain
> pre-defined time? ie I want to write a trigger that checks if the current
> time is one of a certain list of dates, and if yes, it should be executed.
> (I want it to execute only once on a matching date.)
>
> I'm using EnterpriseDB Postgres Plus 8.3
AFAIK, no, you cannot. But you can use a cron job that executes that
trigger via psql, same way you would do in the command console.
--
Jaume Sabater
http://linuxsilo.net/
"Ubi sapientas ibi libertas"
From | Date | Subject | |
---|---|---|---|
Next Message | Milen A. Radev | 2009-11-16 14:55:18 | Re: Can i write a time-trigger? |
Previous Message | Shruthi A | 2009-11-16 13:42:58 | Can i write a time-trigger? |