Re: auto execute

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, Oct 11, 2002 at 11:19:10 +0800,
  Ric Mañalac <ric.manalac@xxxxxxxxxxxxxxxxxx> 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.


[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux