| От | Tom Lane |
|---|---|
| Тема | Re: Scheduled jobs |
| Дата | |
| Msg-id | 20201.1052778446@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Scheduled jobs ("Nigel J. Andrews" <nandrews@investsystems.co.uk>) |
| Ответы |
Re: Scheduled jobs
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера