Re: Scheduled function ? - Mailing list pgsql-novice

From Daniel T. Staal
Subject Re: Scheduled function ?
Date
Msg-id 55226.63.172.115.138.1146754218.squirrel@MageHandbook.com
Whole thread Raw
In response to Scheduled function ?  (Aarni Ruuhimäki <aarni@kymi.com>)
Responses Re: Scheduled function ?
List pgsql-novice
On Thu, May 4, 2006 10:37 am, Aarni Ruuhimäki said:
> Hi,
>
> What's the best / easiest way to run a function as a 'scheduled task' ?
>
> My current platform is FC2 / PostgreSQL 8.0.2 and the stock report
> application is in php.

Probably cron.  Write a script to call the function, then have cron call
it at appropriate times.

Daniel T. Staal

---------------------------------------------------------------
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------


pgsql-novice by date:

Previous
From: Aarni Ruuhimäki
Date:
Subject: Scheduled function ?
Next
From: Aarni Ruuhimäki
Date:
Subject: Re: Scheduled function ?