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

From: "Obe, Regina" <robe(dot)dnd(at)cityofboston(dot)gov>
To: "Robert M(dot) Bernabe" <rbernabe(at)sandmansystems(dot)com>, <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 12:07:25
Message-ID: 53F9CF533E1AA14EA1F8C5C08ABC08D202F42FE9@ZDND.DND.boston.cob
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

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

-----Original Message-----
From: pgsql-novice-owner(at)postgresql(dot)org
[mailto:pgsql-novice-owner(at)postgresql(dot)org] On Behalf Of Robert M.
Bernabe
Sent: Thursday, December 20, 2007 5:52 PM
To: pgsql-novice(at)postgresql(dot)org
Subject: [NOVICE] HOWTO : plpgsql stored function spawn cron job that
will run other stored functions

Hi,
Many thanks in advance. Any advice and or suggestion for command
and/or
methods to have a plpgsql stored function create a process / job that
will
run other stored functions. I've been doing the research but so far no
luck.
:(

Regards

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

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org
-----------------------------------------
The substance of this message, including any attachments, may be
confidential, legally privileged and/or exempt from disclosure
pursuant to Massachusetts law. It is intended
solely for the addressee. If you received this in error, please
contact the sender and delete the material from any computer.

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Robert M. Bernabe 2007-12-21 12:43:10 Re: HOWTO : plpgsql stored function spawn cron job that will run other stored functions
Previous Message Robert M. Bernabe 2007-12-20 22:52:21 HOWTO : plpgsql stored function spawn cron job that will run other stored functions