简体   繁体   English

pgagent-没有运行的作业-pgpass文件正确-Postgresql

[英]pgagent - not running jobs - pgpass file is correct - postgresql

I have Pgagent installed on my Debian OS. 我在Debian OS上安装了Pgagent。 Along with Postgresql 9.4. 与Postgresql 9.4一起。

I have checked .pgpass file as this seems to be the most common cause for a job to not run. 我检查了.pgpass文件,因为这似乎是作业无法运行的最常见原因。

host port 5432 database = * username = postgres password = xxxx. 主机端口5432数据库= *用户名= postgres密码= xxxx。

for both local and the remote host. 适用于本地和远程主机。 The database I'm trying to set a job for is on a remote host. 我要为其设置作业的数据库位于远程主机上。

I made sure it was enabled. 我确保已启用。 It's just a simple INSERT script that should repeat every 5 minutes. 这只是一个简单的INSERT脚本,应每5分钟重复一次。

No errors are being triggered that I can find. 我找不到可以触发的错误。 Any ideas of what would cause the job not to run at all - even when selecting 'run now'? 有什么想法会导致作业根本无法运行-即使选择“立即运行”?

Check postgre db, pgAgent Catalog, pga_jobsteplog 检查postgre db,pgAgent目录,pga_jobsteplog

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM