Re: Scheduled function ?

Поиск
Список
Период
Сортировка
От Christoph Frick
Тема Re: Scheduled function ?
Дата
Msg-id 20060504150426.GX2836@byleth.sc-networks.de
обсуждение исходный текст
Ответ на Re: Scheduled function ?  (Aarni Ruuhimäki <aarni@kymi.com>)
Список 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

Вложения

В списке pgsql-novice по дате отправления:

Предыдущее
От: Aarni Ruuhimäki
Дата:
Сообщение: Re: Scheduled function ?
Следующее
От: "Daniel T. Staal"
Дата:
Сообщение: Re: Scheduled function ?