Re: Is there anyway to...

Поиск
Список
Период
Сортировка
От Glen Parker
Тема Re: Is there anyway to...
Дата
Msg-id 454A40E3.40007@nwlink.com
обсуждение исходный текст
Ответ на Re: Is there anyway to...  (louis gonzales <gonzales@linuxlouis.net>)
Ответы Re: Is there anyway to...  (AgentM <agentm@themactionfaction.com>)
Список pgsql-general
louis gonzales wrote:
> Hey Brian,
> Yeah I had considered this, using cron, I just feel like that is too dirty.
>
> Actually I didn't see Andreas' post, can someone forward that?
>
> I'm running this application on Solaris 9.  Ultimately what I want to
> know is, is there something that is internal to postgresql that can be
> used that doesn't need external action, to make it do some task?
>
> Some built in function that can be set to do some simple task on a daily
> - or other time - interval, where all of the defined users may not have
> any activity with the database for day's or week's at a time, but this
> builtin function still operates?
>
> Am I making any sense with how I'm asking this?  I could of course have
> cron do a scheduled task of checking/incrementing/decrementing and
> define triggers to occur when one of the cron delivered actions sets the
> appropriate trigger off, but are there other methods that are standard
> in the industry or are we stuck with this type of external influence?


Just some commentary...  This is exactly the sort of thing cron is for.
  Duplicating that functionality in the RDBMS would be silly IMO.  I
don't see why you could consider cron to be "dirty" for this application...

-Glen

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

Предыдущее
От: louis gonzales
Дата:
Сообщение: Re: Is there anyway to...
Следующее
От: imad
Дата:
Сообщение: Re: [SQL] Is there anyway to...