pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Gabi Draghici <gabi.draghici@gmail.com>
To: pgsql-general@postgresql.org
Subject: Re: pgagent
Date: Thu, 5 Nov 2020 13:34:43 -0800
Message-ID: <e594b31f-3af4-cf9a-64e4-ddcb2c15b4b3@aklaver.com> (raw)
In-Reply-To: <CAGUZLHy-iqVYwb1KVJjYxMcJBEFeagjd=g0_GpsdKumRS6M_iQ@mail.gmail.com>
References: <CAGUZLHy-iqVYwb1KVJjYxMcJBEFeagjd=g0_GpsdKumRS6M_iQ@mail.gmail.com>

On 11/5/20 1:07 PM, Gabi Draghici wrote:
> 
> Hi,
> 
> I have installed postgresql 12 on sles 15 for some tests. Now I'm 
> interested in some sort of scheduler and from what I've read so far, 
> pgagent should do the job. So I've installed pgagent 4.0. I've added a 
> job (which I can see in pgagent.pga_job) but everytime I ran it (from 
> pgadmin) nothing happens ! When I start the pgagent I can see "... 
> pgagent ... connection authorized" in the main log. What else should I 
> check ?

pg_cron:

https://www.citusdata.com/blog/2020/10/31/evolving-pg-cron-together/

For pgagent what is the job doing and when? Could it be it hasn't run 
because it has not reached it's scheduled time.

> 
> Thanks,
> Gabi
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (20+ messages)  latest in thread

Message-ID: <e594b31f-3af4-cf9a-64e4-ddcb2c15b4b3@aklaver.com>
Permalink:  ../e594b31f-3af4-cf9a-64e4-ddcb2c15b4b3@aklaver.com/
Also on:    postgresql.org/message-id/e594b31f-3af4-cf9a-64e4-ddcb2c15b4b3@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, gabi.draghici@gmail.com
  Subject: Re: pgagent
  In-Reply-To: <e594b31f-3af4-cf9a-64e4-ddcb2c15b4b3@aklaver.com>
  References: <CAGUZLHy-iqVYwb1KVJjYxMcJBEFeagjd=g0_GpsdKumRS6M_iQ@mail.gmail.com> <e594b31f-3af4-cf9a-64e4-ddcb2c15b4b3@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox