Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Disparar periodicamente una funcion


  • From: Juan Martínez <jeugenio(at)umcervantes(dot)cl>
  • To: Gustavo <gustavor(at)intercomgi(dot)net>
  • Cc: PostgreEs <pgsql-es-ayuda(at)postgresql(dot)org>
  • Subject: Re: Disparar periodicamente una funcion
  • Date: Mon, 30 Apr 2007 16:00:37 -0400
  • Message-id: <46364AE5(dot)6050607(at)umcervantes(dot)cl>

Gustavo escribió:
Hola lista. Les queria preguntar si existe una forma de que se dispare automaticamente una función cada ciertos intervalos de tiempo. Ej 1 mes.

Claro, la idea es la misma en realidad para cualquier sistema operativo

un script que tenga lo siguiente mas o menos:

psql -c "SELECT disparador();" bd

Y lo pongas en el scheduler del SO con la fecha y de ejecución y listo!

--
Juan Martinez G.                   Mac Iver # 370
Departamento de Informatica        4997900 - 4997934
Universidad Miguel de Cervantes    Santiago - Chile
http://download.bblug.usla.org.ar/netiquette.png



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group