Re: Scheduled function ? - Mailing list pgsql-novice

From Christoph Frick
Subject Re: Scheduled function ?
Date
Msg-id 20060504150426.GX2836@byleth.sc-networks.de
Whole thread Raw
In response to Re: Scheduled function ?  (Aarni Ruuhimäki <aarni@kymi.com>)
List pgsql-novice
On Thu, May 04, 2006 at 05:59:42PM +0300, Aarni Ruuhimäki wrote:

> > > 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.
> Yes, I thought so. What would the syntax of such a script ?

why don't you reuse your logic from php, you have already implemented
(config for the connection, maybe more). install the php-cli (if not
already there with your install) and write the stuff to do in php - then
call that script with cron.

--
cu

Attachment

pgsql-novice by date:

Previous
From: Aarni Ruuhimäki
Date:
Subject: Re: Scheduled function ?
Next
From: "Daniel T. Staal"
Date:
Subject: Re: Scheduled function ?