Re: Regular function

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Regular function
Date: 2013-03-29 18:13:16
Message-ID: 5155D9BC.6080603@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 3/29/2013 10:54 AM, Yuriy Rusinov wrote:
> I have to write pl/pgsql function that has to be triggered not
> before/after insert, but in definite time. Does postgresql allows to
> do this ?

there is no 'cron' built into postgresql. you could write your
function, then have an external cron job invoke it, like: psql -c
"select yourfunction()"

--
john r pierce 37N 122W
somewhere on the middle of the left coast

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2013-03-29 18:22:52 Re: Regular function
Previous Message Yuriy Rusinov 2013-03-29 17:54:42 Regular function