Re: Scheduled Job at PostgreSQL - Mailing list pgsql-novice

From A. Kretschmer
Subject Re: Scheduled Job at PostgreSQL
Date
Msg-id 20060407050754.GA8541@webserv.wug-glas.de
Whole thread Raw
In response to Scheduled Job at PostgreSQL  (shakil tanvir <tanvirshakil@yahoo.com>)
Responses Re: Scheduled Job at PostgreSQL
List pgsql-novice
am  06.04.2006, um 21:53:54 -0700 mailte shakil tanvir folgendes:
> I would like to know if similar thing can be done in PostgreqSQL, that
> is whether pgsql can have scheduled database job and if there any
> stored procedure which will send email automatically. If there is no

No.


> such facility  then any idea, suggestion of how to implement it will
> help a lot!

You can use the CRON for such jobs. And you can write a sql-script with
contains your SQL-Code, executed this with psql -f <your_script> and send
email from within this shell-script.


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

pgsql-novice by date:

Previous
From: shakil tanvir
Date:
Subject: Scheduled Job at PostgreSQL
Next
From: Richard Broersma Jr
Date:
Subject: Re: Foreign keys and inheritance