title: How to Create a sScheduler Job in PostgreSql using PgAgent
body: <p>I'm new in PostgreSQL, and I want to create a scheduled job which is run every day.</p>
  
  <p>Firstly I'm creating a function for this. my function is working fine.</p>
  
  <p>And now I want to create jobs and use this function inside the jobs, so it runs every day.</p>
  
  <p>But I don't know how do this. I've been googling but didn't find any reference.</p>
  
  <p>Please help </p>
  
  <p><a href="https://i.stack.imgur.com/CnETt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CnETt.png" alt="enter image description here"></a></p>