Received: from dealer.netventures.com.au (dnet137107-1.gw.connect.com.au [210.8.15.221] (may be forged)) by postgresql.org (8.11.3/8.11.4) with ESMTP id g1C4TgE27763 for ; Mon, 11 Feb 2002 23:29:43 -0500 (EST) (envelope-from david@netventures.com.au) Received: from ciderbox.in.netventures.com.au (net137107-2.gw.connect.com.au [210.9.198.119]) by dealer.netventures.com.au (Postfix) with ESMTP id 897781A5DC0 for ; Tue, 12 Feb 2002 15:29:47 +1100 (EST) Date: Tue, 12 Feb 2002 15:30:07 +1100 Subject: Re: Oracle "Jobs" in PostgreSQL Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v480) From: David Stanaway To: Content-Transfer-Encoding: 7bit In-Reply-To: <005401c1b37b$0fd23bf0$6c0aa8c0@UNNIKRISHNAN> Message-Id: <318BF7A8-1F71-11D6-93F9-0003930FDAB2@netventures.com.au> X-Mailer: Apple Mail (2.480) X-Archive-Number: 200202/123 X-Sequence-Number: 6551 On Tuesday, February 12, 2002, at 03:09 PM, Unnikrishnan Menon wrote: > Hi Andrew, > > Iam sorry for being vague. The fact is that i would like to port a few > jobs > created in Oracle to PostgreSQL. These jobs are executed in a time-based > manner. > I do not find any option in PostgreSQL which matches the jobs > functionality > of Oracle. The Oracle-to-PG documentation also does not mention > anything on > porting of jobs. I'am running a couple of procedures within packages as > jobs > in Oracle. > could help guide me into porting the same into Postgres. You may need to trigger these jobs externally with the host systems services. EG: cron or at on Unix or: at on NT You can execute scripts with psql You may like to have a look at the cron tasks installed by the postgresql package (At least on Debian) /etc/cron.d/postgresql 0 4 * * * postgres [ -x /usr/lib/postgresql/bin/do.maintenance ] && /usr/lib/postgresql/bin/do.maintenance -a ============================== David Stanaway Personal: david@stanaway.net Work: david@netventures.com.au