Re: PG_CRON logging

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: PG_CRON logging
Дата
Msg-id CAKFQuwa3xEEzgqZ7O7iGdKgei91eu9dvmV6qEeVpjHX28Be5_A@mail.gmail.com
обсуждение исходный текст
Ответ на PG_CRON logging  (Rajin Raj <rajin.raj@opsveda.com>)
Список pgsql-admin
On Tuesday, May 26, 2020, Rajin Raj <rajin.raj@opsveda.com> wrote:
Hi,

Is there way to insert the cron job execution status to a table? 
Or any other method to identify the job status without checking the log file?

Please just pick one list to send emails to.  And this isn’t a topic relevant to -hackers

Simplest solution is to call out to psql in whatever process is being run.  I don’t how, if at all, to get the cron daemon to send output to a custom target that could do the psql work more generically.  Though i do not think doing So would be a good idea even if it can be done.

David J.

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

Предыдущее
От: Rajin Raj
Дата:
Сообщение: PG_CRON logging
Следующее
От: "Dave Bolt"
Дата:
Сообщение: RE: import question