Re: Scheduling Events?

Поиск
Список
Период
Сортировка
От David Durst
Тема Re: Scheduling Events?
Дата
Msg-id 41705.216.86.192.34.1043397938.squirrel@www.la-rubber.com
обсуждение исходный текст
Ответ на Re: Scheduling Events?  (Achilleus Mantzios <achill@matrix.gatewaynet.com>)
Ответы Re: Scheduling Events?
Re: Scheduling Events?
Re: Scheduling Events?
Re: Scheduling Events?
Список pgsql-sql
> On Thu, 23 Jan 2003, David Durst wrote:
>
>> Is there anyway to schedule DB Events based on time?
>
> Yes! cron
>
>> So lets say I had a table w/ depreciation schedules in it,
>> I would like the DB to apply the formula and make the entries on the
>> END of every month.
> On Thu, 23 Jan 2003, David Durst wrote:
>
>> Is there anyway to schedule DB Events based on time?
>
> Yes! cron
>
>> So lets say I had a table w/ depreciation schedules in it,
>> I would like the DB to apply the formula and make the entries on the
>> END of every month.

Here is the basic problem w/ using CRON in an accounting situation.

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..)

And outside adjustment is made to lets say the equipment account and that
adjustment was made on the value of the equipment, BUT it hadn't been
depreciated because crond went down and no one notice.

Now I have a HUGE issue!

So I have to be sure that all entries/adjustments are made accurately in
the time frame they were meant to happen in.




В списке pgsql-sql по дате отправления:

Предыдущее
От: Chris Gamache
Дата:
Сообщение: Race condition w/ FIFO Queue reappears!
Следующее
От: "Tambet Matiisen"
Дата:
Сообщение: Re: calling function from rule