Re: Question

Поиск
Список
Период
Сортировка
От Raymond O'Donnell
Тема Re: Question
Дата
Msg-id 4A589BAC.1030801@iol.ie
обсуждение исходный текст
Ответ на Question  (Jorge Arangoitia Fernandez Baca <jarangoitia@healtechnology.com.pe>)
Список pgsql-general
On 10/07/2009 21:56, Jorge Arangoitia Fernandez Baca wrote:

> I want to know if you can create a store procedure that run
> automatically after a certain time, something like a timer in java. If
> it exists, could you tell me how it is implemented??

Put your function in a file, and then create a cron job that runs psql
taking its input from the file:

  psql -f <your_file> <your-database>

Ray.

------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod@iol.ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------

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

Предыдущее
От: Mark Felegyhazi
Дата:
Сообщение: INSERT only unique records
Следующее
От: Martin Gainty
Дата:
Сообщение: Re: Using Postgres to store genetic data