Re: auto execute

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Ric Mañalac <ric(dot)manalac(at)webphilippines(dot)com>
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: auto execute
Date: 2002-10-11 12:09:07
Message-ID: 20021011120907.GA29853@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

On Fri, Oct 11, 2002 at 11:19:10 +0800,
Ric Mañalac <ric(dot)manalac(at)webphilippines(dot)com> wrote:
> hello,
>
> how can i make postgres to execute a query automatically during
> scheduled times?
>
> here's my situation. i store records on a table. these records should be
> removed 1 day after they were created.

If they new to not be visible exactly 1 day after they are created, you
can use a view to do that. You will still want to run a cron job to
actually delete the records.

In response to

Browse pgsql-php by date

  From Date Subject
Next Message Waruna Geekiyanage 2002-10-11 16:02:31 syncronize databases
Previous Message Keary Suska 2002-10-11 05:35:18 Re: auto execute