From: Bruno Wolff III <bruno@wolff.to>
To: Ric Mañalac <ric.manalac@webphilippines.com>
Cc: pgsql-php@postgresql.org
Subject: Re: auto execute
Date: Fri, 11 Oct 2002 07:09:07 -0500
Message-ID: <20021011120907.GA29853@wolff.to> (raw)
In-Reply-To: <3DA6432D.E253E07B@webphilippines.com>
References: <3DA6432D.E253E07B@webphilippines.com>
On Fri, Oct 11, 2002 at 11:19:10 +0800,
Ric Mañalac <ric.manalac@webphilippines.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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: bruno@wolff.to, ric.manalac@webphilippines.com
Subject: Re: auto execute
In-Reply-To: <20021011120907.GA29853@wolff.to>
References: <3DA6432D.E253E07B@webphilippines.com> <20021011120907.GA29853@wolff.to>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox