Re: Scheduled jobs - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Scheduled jobs
Date
Msg-id 20201.1052778446@sss.pgh.pa.us
Whole thread Raw
In response to Re: Scheduled jobs  ("Nigel J. Andrews" <nandrews@investsystems.co.uk>)
Responses Re: Scheduled jobs
List pgsql-hackers
"Nigel J. Andrews" <nandrews@investsystems.co.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



pgsql-hackers by date:

Previous
From: "Nigel J. Andrews"
Date:
Subject: Re: Scheduled jobs
Next
From: Christopher Browne
Date:
Subject: Re: Scheduled jobs