Re: PG_CRON logging

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Rajin Raj <rajin(dot)raj(at)opsveda(dot)com>
Cc: "pgsql-admin(at)lists(dot)postgresql(dot)org" <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: PG_CRON logging
Date: 2020-05-26 18:50:50
Message-ID: CAKFQuwa3xEEzgqZ7O7iGdKgei91eu9dvmV6qEeVpjHX28Be5_A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-hackers

On Tuesday, May 26, 2020, Rajin Raj <rajin(dot)raj(at)opsveda(dot)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.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Dave Bolt 2020-05-26 22:39:21 RE: import question
Previous Message Rajin Raj 2020-05-26 18:38:53 PG_CRON logging

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2020-05-26 19:15:11 Re: Trouble with hashagg spill I/O pattern and costing
Previous Message Jeff Davis 2020-05-26 18:40:07 Re: Trouble with hashagg spill I/O pattern and costing