Questions tagged [pgagent]

pgAgent is a job scheduler for PostgreSQL

is a tool for which can be used with .

For details see:

98 questions
0
votes
1 answer

How Configure pgAgent in Ubuntu22.04?

I have installed postgresql, pgAdmin, and pgAgent. However, I can't get pgAgent to work with pgAdmin. It's been 3 days already, and I have no clue what I need to do. What commands did I use for the installation? sudo apt install postgresql…
0
votes
0 answers

pgAgent Jobs not running

I have created a job with steps, but when I click on "Run Now" in pgAdmin, nothing happens. There are no statistics on the job. Has anyone encountered and resolved this? Below is a screenshot of what I'm seeing: Here is a screenshot of the…
kickinchicken
  • 1,281
  • 4
  • 18
  • 40
0
votes
0 answers

pgagent not working and not showing the statics in pgadmin

I have installed the pgAgent try to run the jobs. it is not working no statics are showing the pgadmin. I checked the logs ERROR: Stopping pgAgent: Couldn't establish the primary connection with the database server. please help. Thank you, Raja
Raju
  • 27
  • 5
0
votes
0 answers

How to implement pgAgent Jobs in PostgreSQL 15?

What do I have to do so that PostgreSQL 15 using pgAdmin shows me the "pgAgent Jobs" section? It is not enough to create the extension and update, unlike PostgreSQL 12. PostgreSQL 12 PostgreSQL 15
0
votes
1 answer

Changing connection string in pgagent

Is there a way to change the connection string in pgagent? I tried to check through server properties but it is not editable
Mjv
  • 9
  • 2
0
votes
0 answers

Couldn't get a connection to the database in PgAgent job

In PgAgent tried with Local connection as well as Remote connection with connection string, yet both are not connecting to the database. Able to connect to database and execute it query window but through the job it is not working. All permissions…
Mjv
  • 9
  • 2
0
votes
0 answers

Can't Run Jobs on pgagent, ubuntu

I have installed pgagent on ubuntu with the following service config: [Unit] Description=pgAgent Job Scheduler [Service] User=postgres ExecStart=/usr/bin/pgagent host=localhost dbname=mydatabase user=myuser…
Gnani Kim
  • 61
  • 6
0
votes
0 answers

How can I set up pgAgent as a daemon?

I'm trying to set the PostgreSQL pgAgent as a daemon on Ubuntu Server 20.04, but I'm getting the following error and I can't find much documentation about it: ERROR: Stopping pgAgent: Couldn't establish the primary connection with the database…
0
votes
0 answers

Jobs is not shown in pgAdmin 4

I have a problem with pgAdmin 4. Jobs are not displayed even if I am the superuser. Jobs give you the opportunity to link tasks to a PostgreSQL database. Unlike triggers, which are executed only after actions on the database, these jobs can be…
0
votes
0 answers

pgAgent post json to PostgreSQL database

I am looking to update JSON data in a PostgreSQL database after the service has been updated or after 28 days. and is it possible to use pgAgent? I need to bring FAA gis JSON into PostgreSQL.…
Laura612
  • 1
  • 1
0
votes
0 answers

Paagent job doesn't run

In pgadmin (6.8) on MacBook, I right click a job, then choose "Run now" option, but nothing happened. Looks like the job is stopped. How to restart it? much appreciated!
Eric
  • 303
  • 1
  • 8
  • 19
0
votes
0 answers

How can I install pgAgent Jobs on a remote server in PostgreSQL?

Locally I have no problems, but on the remote server I want to perform a routine on, it is not possible. I also specified a connection string locally to perform the routine on the remote server, but it does not work.
0
votes
1 answer

PGAgent - Scheduling a job to drop my old partitions

I have a script below which is running fine when i'm executing directly via PGAdmin however when i schedule it to run using PGAgent though, it's showing successful but my partitions were still untouched. Below is the PostgreSQL version our…
0
votes
0 answers

Postgresql pgagent Job scheduler insert data error

I'm only new in using postgresql and I'm having a hard time to make my scheduled job works. I already tested the pgagent if there's any problem. I already created a sample job that connects to postgres database. I also created a sample table in…
pryxen
  • 381
  • 2
  • 22
0
votes
0 answers

PgSql 14-Pgagent not connected with database

Hi I am using PgSql 14 and I have installed it's relevant PgAgent from stack builder. By using local and remote both are not connected to the database. But the same job script working fine with PgSQL 12.3 and it's PgAgent. What are the things needs…
shathi
  • 1