Обсуждение: automatically execute a function each day

Поиск
Список
Период
Сортировка

automatically execute a function each day

От
Ottavio Campana
Дата:
I want to execute a function automatically every day, let's say at midnight.

Can I do it directly in postgresql, or do I have to use some external
programs (cron?) ?

Thanks.

--
Non c'e' piu' forza nella normalita', c'e' solo monotonia.


Вложения

Re: automatically execute a function each day

От
"Jaime Casanova"
Дата:
On 6/10/07, Ottavio Campana <ottavio@campana.vi.it> wrote:
> I want to execute a function automatically every day, let's say at midnight.
>
> Can I do it directly in postgresql, or do I have to use some external
> programs (cron?) ?
>
> Thanks.
>

you have to use an external program (cron is good)

--
regards,
Jaime Casanova

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs and the universe trying
to produce bigger and better idiots.
So far, the universe is winning."
                                       Richard Cook

Re: automatically execute a function each day

От
Michael Glaesemann
Дата:
On Jun 10, 2007, at 15:28 , Ottavio Campana wrote:

> Can I do it directly in postgresql, or do I have to use some external
> programs (cron?) ?

Use cron or some similar tool.

Michael Glaesemann
grzm seespotcode net



Вложения