title: How to run a job created via pgagent in Postgres
body: <p>Created a job using pgagent.</p>
  
  <p>Successfully it got created but could not check its status if its running or not.</p>
  
  <p>Neither it has performed its specified code which I have given in steps. </p>
  
  <p>Verion Used:
  <strong>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</strong></p>
  
  <p>With the help of pgAgent I have created a JOB </p>
  
  <p><a href="https://i.stack.imgur.com/9SJmd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9SJmd.png" alt="Job name and general details"></a></p>
  
  <p><a href="https://i.stack.imgur.com/ss62F.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ss62F.png" alt="Job steps and name"></a></p>
  
  <p><a href="https://i.stack.imgur.com/3xz1J.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3xz1J.png" alt="Job detailed code which need to be performed"></a></p>
  
  <p><a href="https://i.stack.imgur.com/S81jH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/S81jH.png" alt="Time scheduled for job"></a></p>
  
  <p><a href="https://i.stack.imgur.com/SBwnz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SBwnz.png" alt="enter image description here"></a></p>
  
  <p>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 which i have passed in Job -> Step.</p>