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

Re: Automatic SQL command execution

From: "Obe, Regina" <robe(dot)dnd(at)cityofboston(dot)gov>
To: "Lewis Cunningham" <lewisc(at)rocketmail(dot)com>,"Yos Sunitiyoso" <yos(dot)sunitiyoso(at)gmail(dot)com>,"Sean Davis" <sdavis2(at)mail(dot)nih(dot)gov>
Cc: <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Automatic SQL command execution
Date: 2008-07-01 19:30:07
Message-ID: 53F9CF533E1AA14EA1F8C5C08ABC08D20451395C@ZDND.DND.boston.cob (view raw or flat)
Thread:
Lists: pgsql-novice
--- On Fri, 6/27/08, Sean Davis <sdavis2(at)mail(dot)nih(dot)gov> wrote:

>> Postgresql doesn't have tools to do that directly.  If
>> you are on
>> Linux or Unix, you can use cron; Windows probably has
>> something
>> similar to automate tasks.
>> 

> I use nncron lite.  Free and cron file compatible.

> http://www.nncron.ru/nncronlt/help/help.htm

> Lewis R Cunningham

> An Expert's Guide to Oracle Technology
> http://blogs.ittoolbox.com/oracle/guide/

> Postgres Forums
> http://postgres.enterprisedb.com/forum.do


Actually you can use PgAgent which comes packaged with PgAdmin III.
I've used it successfully on both windows and RedHat linux.  I think it
works anywhere PostgreSQL works.  The nice thing about PgAgent is that
you can see the status of jobs from the PgAdmin administrative tool and
trigger a manual run of a scheduled job from PgAdmin tool from anywhere.


http://www.pgadmin.org/docs/1.8/pgagent.html

Hope that helps,
Regina
-----------------------------------------
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

pgsql-novice by date

Next:From: Ridvan Lakas ng Bayan S. BaluyosDate: 2008-07-02 08:54:08
Subject: Table exists but can't drop.
Previous:From: Lewis CunninghamDate: 2008-07-01 18:27:22
Subject: Re: Automatic SQL command execution

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