Trigger problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • coolminded
    New Member
    • Mar 2007
    • 137

    #1

    Trigger problem

    hi experts,
    can a function be triggered every day. for example if i want to run a query everyday, how can i write a trigger. i wrote a trigger which runs only when some event occurs but i need it to run automatically say in the specific time lets say.

    thanx in advance
  • rski
    Recognized Expert Contributor
    • Dec 2006
    • 700

    #2
    Under Linux you can use cron with a script file, but better way is to use pgagent. To use pgagent you need pgadmin3.

    Comment

    • coolminded
      New Member
      • Mar 2007
      • 137

      #3
      hi rski
      thanx for the reply. i am using PgAdmin III, could you please kindly tell me how to use pgagent.
      thanx

      Comment

      • rski
        Recognized Expert Contributor
        • Dec 2006
        • 700

        #4
        Originally posted by coolminded
        hi rski
        thanx for the reply. i am using PgAdmin III, could you please kindly tell me how to use pgagent.
        thanx
        there is a short documentation

        Comment

        Working...