Re: PG_Cron - Error Message Connection failed

From: Fabricio Pedroso Jorge <fpjbito(at)gmail(dot)com>
To: FOUTE K(dot) Jaurès <jauresfoute(at)gmail(dot)com>
Cc: PostgreSQL General <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: PG_Cron - Error Message Connection failed
Date: 2023-05-12 16:05:03
Message-ID: CAJDTwK1M9XCP2dGA_Vq0Cpbi92VbUSxFypMU0esiJ6iVLe6y9w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Try checking the view cron.job, column "nodename", if it's set to
"localhost", change it (via an UPDATE) to the address defined in
"listen_address" parameter and see if this works.

Em sex., 12 de mai. de 2023 às 17:00, FOUTE K. Jaurès <jauresfoute(at)gmail(dot)com>
escreveu:

> Hello everyone,
>
> Can someone help me to understand this issue. I installed and configured
> pg_cron on the server and I was able to connect without providing a
> password using psql command line.
> But when i schedule a job, like this: SELECT cron.schedule( 'TEST','30
> seconds', $$SELECT 1$$);
> the result show
> [image: image.png]
>
> Any help is welcome
>
> --
> Jaurès FOUTE
>

--
*Fabrício Pedroso Jorge.*
Database Architect / Database Engineer

*LinkedIn Profile*
http://br.linkedin.com/in/fabriciojorge

*Contacts:*
+ 353 085 8221706
fpjbito(at)gmail(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2023-05-12 16:12:14 Re: Adding SHOW CREATE TABLE
Previous Message FOUTE K. Jaurès 2023-05-12 16:03:28 PG_Cron - Error Message Connection failed