Re: Scheduled function ?

From: Christoph Frick <frick(at)sc-networks(dot)com>
To:
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Scheduled function ?
Date: 2006-05-04 15:04:26
Message-ID: 20060504150426.GX2836@byleth.sc-networks.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Daniel T. Staal 2006-05-04 15:24:41 Re: Scheduled function ?
Previous Message Aarni Ruuhimäki 2006-05-04 14:59:42 Re: Scheduled function ?