title: pg_agent not executing the query
body: <p>I am trying to create a task job with pg_agent. I have created a new job, schedule, and step. They are all enabled. In my step, I have such a query to get run: </p>
  
  <pre><code>DELETE FROM "ID: 889197824 CH: 0006 Messdaten" t  
     USING (
     SELECT "Zeit" FROM "ID: 889197824 CH: 0006 Messdaten" WHERE "Zeit" &lt; ts2oadate(now() - (interval '3 Months'))
     ) d  
  LEFT   JOIN ( 
     SELECT min("Zeit") AS "Zeit" 
     FROM   "ID: 889197824 CH: 0006 Messdaten" 
     WHERE  "Zeit" &lt; ts2oadate(now() - (interval '3 Months')) 
     GROUP  BY date_trunc('hours',oadate2ts("Zeit")) 
  
     ) x USING ("Zeit") 
  WHERE  x."Zeit" IS NULL 
  AND    d."Zeit" = t."Zeit";
  </code></pre>
  
  <p>After checking event viewer of the pg_agent service, I found out such an error:</p>
  
  <pre><code>Failed to create new connection for connection string 'user=postgres host=localhost port=5432 dbname=test_db':fe_sendauth: no password supplied
  </code></pre>
  
  <p>This is the pgpass.conf</p>
  
  <pre><code>localhost:5432:postgres:postgres:xxxx
  </code></pre>
  
  <p>Do you have any idea what would be the problem?</p>
  
  <p>Some more info:</p>
  
  <p>This is job</p>
  
  <p><img src="https://i.stack.imgur.com/XWfap.jpg" alt="enter image description here"></p>
  
  <p>This is schedule</p>
  
  <p><img src="https://i.stack.imgur.com/JCD2G.jpg" alt="enter image description here"></p>
  
  <p>And this is step</p>
  
  <p><img src="https://i.stack.imgur.com/OghQc.jpg" alt="enter image description here"></p>