Re: Scheduled jobs

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Nigel J(dot) Andrews" <nandrews(at)investsystems(dot)co(dot)uk>
Cc: Zlatko Michailov <zmichailov(at)yahoo(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Scheduled jobs
Date: 2003-05-12 22:27:26
Message-ID: 20201.1052778446@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Nigel J. Andrews" <nandrews(at)investsystems(dot)co(dot)uk> writes:
> Only cron can't handle some of those cases listed, but then one could always
> patch one's own local installation of pg_ctl etc. to run things at startup and
> shutdown.

If you are using a typical init script setup, it's easy to add
additional operations to the init script's start and stop actions.

I'm a tad suspicious of adding on-shutdown actions anyway, as there's
little guarantee they would get done (consider system crash, postmaster
crash, etc).

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Browne 2003-05-12 22:38:14 Re: Scheduled jobs
Previous Message Nigel J. Andrews 2003-05-12 22:22:23 Re: Scheduled jobs