Search Postgresql Archives

Re: Time trigger

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



am  10.11.2005, um 12:46:33 +0100 mailte Piechu Piechu folgendes:
> hello
> 
> I'm new in this list, so sorry if my question seems stupid
> 
> Is it possible to invoke store procedure because of time, I mean for
> example I want my procedure to be invoked every ten minutes - what
> should I do to reach this goal

You can use the crontab for such thing. 

0-59/10 * * * * echo "select * from foo;" | psql test | mail foo@xxxxxxxxxxx


HTH, Andreas
-- 
Andreas Kretschmer    (Kontakt: siehe Header)
Heynitz:  035242/47212,      D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
 ===    Schollglas Unternehmensgruppe    === 

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux