pgAgent

pgagent on centos 64bit

为君一笑 提交于 2020-01-06 14:53:23
问题 I am trying to install pgAgent for two straight day on a centOS 6.2 64bit. I have been trying to compile it from source without success because I could not manage to compile wxWidgets. I have been trying to use a precompiled version but was unsuccessful because of missing libraries : linux-gate.so.1 => (0x00f6c000) libssl.so.0 => not found libcrypto.so.0 => not found libcrypt.so.1 => /lib/libcrypt.so.1 (0x00a84000) libz.so.1 => not found libdl.so.2 => /lib/libdl.so.2 (0x0063f000) libstdc++.so

PostgreSQL(9.4) Scheduling Agent pgAgent : Couldn't get a connection to the database

空扰寡人 提交于 2020-01-04 05:33:29
问题 I have been trying to schedule a job using pgAgent. But, I am getting the below error: "Couldn't get a connection to the database" Following are the configurations: pgAgent Configuration: Scheduled Job Configuration: Please help to get it resolved. 回答1: I have resolved the issue. I did make the credential entry " localhost:5432:testing:postgres: [Enter password] " in file " pgpass.conf " which exist at location " C:\Users\sys*[service username]*\AppData\Roaming\postgresql ". Now it is working

How to run a job created via pgagent in Postgres

浪尽此生 提交于 2019-12-24 04:32:14
问题 Created a job using pgagent. Successfully it got created but could not check its status if its running or not. Neither it has performed its specified code which I have given in steps. Verion Used: PostgreSQL 9.6.2 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-17), 64-bit With the help of pgAgent I have created a JOB Job successfully got created but I cant check if its working or not as there is no notification for the same, neither it is performing the SQL code

How to run a job created via pgagent in Postgres

谁都会走 提交于 2019-12-24 04:31:57
问题 Created a job using pgagent. Successfully it got created but could not check its status if its running or not. Neither it has performed its specified code which I have given in steps. Verion Used: PostgreSQL 9.6.2 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-17), 64-bit With the help of pgAgent I have created a JOB Job successfully got created but I cant check if its working or not as there is no notification for the same, neither it is performing the SQL code

pgAgent job fails with authentication error

旧时模样 提交于 2019-12-23 15:40:03
问题 I've installed pgAgent with the Windows service using a local machine account called postgres. I have confirmed that the Windows service is running normally. I created a job in pgAdmin that should delete certain records from a table in my customer DB. The only step in the job is configured with a Local connection type to the customer DB. The problem is, the job fails every time with the following warning written to the Windows event log: Failed to create new connection to database 'customer':

利用pgAgent创建定时任务

断了今生、忘了曾经 提交于 2019-11-26 15:58:33
使用Postgresql自带的pgAgent,可以很方便地创建定时执行任务。现在网上的资料都比较旧,Postgresql版本更新得比较快,导致网上的一些教程都不合用了,现在我写分享一下自己的经验。 Postgresql的版本是 9.X 1.安装pgAgent。pgAgent在以前旧的版本是pgAdmin自带的,但新版本的pgAgent是需要通过Postgresql自带的Application Stack Builder这个软件来安装的。具体流程如下: *在这里要填写Postgresql的postgres的用户名密码,或者具有操作postgres这个数据库权限的用户账号。因为pgAgent需要在postgres这个数据库里面创建相应的表,所以这里填写的用户必须需要有操作postgres这个数据库的权限,在这里就用最大权限的postgres用户。 *在这里是埴写执行pgAgent的windows用户账号,如果是域用户,请填写完整的域用户名和密码。因为pgAgent会在windows的服务里面添加一个叫“PostgreSQL Scheduling Agent - pgAgent”的服务,而这个服务需要登录后才能运行,所以这里填写的账号必须是当前widnows可以登录的账号。 来到这里,就表示pgAgent已经成功安装了。可以到windows的服务里面看一下pgAgent的服务添加没有