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

Re: HOWTO : plpgsql stored function spawn cron job that will run other stored functions

From: "Robert M(dot) Bernabe" <rbernabe(at)sandmansystems(dot)com>
To: "Obe, Regina" <robe(dot)dnd(at)cityofboston(dot)gov>,<pgsql-novice(at)postgresql(dot)org>
Subject: Re: HOWTO : plpgsql stored function spawn cron job that will run other stored functions
Date: 2007-12-21 23:42:11
Message-ID: 011901c8442b$1c6d0b50$6501a8c0@calhoun (view raw or flat)
Thread:
Lists: pgsql-novice
Again Thanks. Would you know of any documentation that details how to 
programmatically control pgagent? Also something that details the tables it 
uses plus maybe scripting and interface? Thanks.


----- Original Message ----- 
From: "Obe, Regina" <robe(dot)dnd(at)cityofboston(dot)gov>
To: "Robert M. Bernabe" <rbernabe(at)sandmansystems(dot)com>; 
<pgsql-novice(at)postgresql(dot)org>
Sent: Friday, December 21, 2007 8:07 PM
Subject: RE: [NOVICE] HOWTO : plpgsql stored function spawn cron job that 
will run other stored functions


Not quite clear what you are asking for.

Does PgAgent fit your needs http://www.pgadmin.org/docs/1.8/pgagent.html
?

If you needed jobs dynamically created for some reason I think all you
would need to do is stuff the appropriate records in the PgAgent related
tables.  Although I'm not quite sure if you are looking for a simple
scheduling agent which is what PgAgent is or for something more advanced
or if you have already ruled it out for some other reason.

Hope that helps,
Regina


I'm protected by SpamBrave
http://www.spambrave.com/


In response to

Responses

pgsql-novice by date

Next:From: Milan CirovicDate: 2007-12-24 12:09:52
Subject: pgAgent on workstation/client
Previous:From: John DeSoiDate: 2007-12-21 14:48:43
Subject: Re: HOWTO : plpgsql stored function spawn cron job that will run other stored functions

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group