| От | Bruno Wolff III |
|---|---|
| Тема | Re: Scheduling Events? |
| Дата | |
| Msg-id | 20030124132944.GA24169@wolff.to обсуждение исходный текст |
| Ответ на | Re: Scheduling Events? ("David Durst" <ddurst@larubber.com>) |
| Список | pgsql-sql |
On Fri, Jan 24, 2003 at 00:45:38 -0800, David Durst <ddurst@larubber.com> wrote: > > I can't be sure that cron will always be up when the DB is up, > so lets say crond goes down for some random reason (User, System error, > Etc..) One option would be to run the cron job fairly often and have it check if there are any tasks that need to be done. If there are it does them in a transaction which also makes some update that indicates that the task has been done. The other option would be that the process(es) that use the monthly updates, check to see that they have been done as part of their transaction and if not do the update first before proceeding.
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера