From: | "David Durst" <ddurst(at)larubber(dot)com> |
---|---|
To: | <pgsql-sql(at)postgresql(dot)org> |
Subject: | Re: Scheduling Events? |
Date: | 2003-01-24 08:45:38 |
Message-ID: | 41705.216.86.192.34.1043397938.squirrel@www.la-rubber.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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.
From | Date | Subject | |
---|---|---|---|
Next Message | Tomasz Myrta | 2003-01-24 10:04:07 | Re: quastions about primary key |
Previous Message | Tambet Matiisen | 2003-01-24 08:39:26 | Re: calling function from rule |