Re: organizing cron jobs in one function - Mailing list pgsql-sql

From Jasen Betts
Subject Re: organizing cron jobs in one function
Date
Msg-id k89bcq$3ij$1@reversiblemaps.ath.cx
Whole thread Raw
In response to organizing cron jobs in one function  (Louis-David Mitterrand <vindex+lists-pgsql-sql@apartia.org>)
List pgsql-sql
On 2012-11-17, Louis-David Mitterrand <vindex+lists-pgsql-sql@apartia.org> wrote:
> Hi,
>
> I'm planning to centralize all db maintenance jobs from a single
> pl/pgsql function called by cron every 15 minutes (highest frequency
> required by a list of jobs). In pseudo code:

centralising execution of cron jobs into a single function is a recipe for
locking problems, if your jobs are not of the type that acquire
exclusive locks on tables, it might work for you.
.



-- 
⚂⚃ 100% natural




pgsql-sql by date:

Previous
From: Louis-David Mitterrand
Date:
Subject: Re: organizing cron jobs in one function
Next
From: Marcin Krawczyk
Date:
Subject: regexp_replace behavior