pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christopher Browne <cbbrowne@acm.org>
To: pgsql-admin@postgresql.org
Subject: Re: Scheduling/Automated Jobs in Postgre
Date: Wed, 02 Mar 2005 08:23:01 -0500
Message-ID: <m3bra22nd6.fsf@knuth.knuth.cbbrowne.com> (raw)
References: <002801c51ee1$e2c95f50$8b02a8c0@ivesia52>

adamodharan@ivesia.com ("Aravindhan G.D") wrote:
> I need to do some user defined jobs when ever the Postgre server
> gets restarted. These tasks should be automated one i.e) When ever I
> restart the server the PL/SQL functions I have defined should be
> executed automatically without my intervention. This is to record
> some information like Audit Trails and some more.

You could add this into whatever script starts up pg_ctl, but only if
you decide to use PostgreSQL rather than "Postgre".

> Could any one tell me how can I implement this in Postgre. Is there
> any concept like "Scheduled Jobs" in Postgre. If so pls. provide me
> with related informations or the links from where I could get them.

There surely is.  Use cron(8).  But that's only true with PostgreSQL,
not with "Postgre".  

This mailing list addresses PostgreSQL, not Postgre.
-- 
let name="cbbrowne" and tld="gmail.com" in String.concat "@" [name;tld];;
http://linuxdatabases.info/info/slony.html
Some people are only alive because it is illegal to kill. 



view thread (5+ messages)  latest in thread

Message-ID: <m3bra22nd6.fsf@knuth.knuth.cbbrowne.com>
Permalink:  ../m3bra22nd6.fsf@knuth.knuth.cbbrowne.com/
Also on:    postgresql.org/message-id/m3bra22nd6.fsf@knuth.knuth.cbbrowne.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: cbbrowne@acm.org
  Subject: Re: Scheduling/Automated Jobs in Postgre
  In-Reply-To: <m3bra22nd6.fsf@knuth.knuth.cbbrowne.com>
  References: <002801c51ee1$e2c95f50$8b02a8c0@ivesia52> <m3bra22nd6.fsf@knuth.knuth.cbbrowne.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox