Re: organizing cron jobs in one function

From: Jasen Betts <jasen(at)xnet(dot)co(dot)nz>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: organizing cron jobs in one function
Date: 2012-11-18 00:50:34
Message-ID: k89bcq$3ij$1@reversiblemaps.ath.cx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On 2012-11-17, Louis-David Mitterrand <vindex+lists-pgsql-sql(at)apartia(dot)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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Craig Ringer 2012-11-18 11:27:54 Re: organizing cron jobs in one function
Previous Message Louis-David Mitterrand 2012-11-17 16:19:17 organizing cron jobs in one function