Return-Path: <ml-errors@fatcity.com>
Received: from ensim.rackshack.net (root@localhost)
 by orafaq.net (8.11.6/8.11.6) with ESMTP id h9NHd5C01017
 for <oracle-l@orafaq.net>; Thu, 23 Oct 2003 12:39:05 -0500
X-ClientAddr: 66.27.56.213
Received: from www2.fatcity.com (rrcs-west-66-27-56-213.biz.rr.com [66.27.56.213])
 by ensim.rackshack.net (8.11.6/8.11.6) with ESMTP id h9NHd4c01004
 for <oracle-l@orafaq.net>; Thu, 23 Oct 2003 12:39:04 -0500
Received: (from root@localhost)
 by www2.fatcity.com (8.11.6/8.11.6) id h9NEpDh22762
 for oracle-l@orafaq.net; Thu, 23 Oct 2003 07:51:13 -0700
Received: by fatcity.com (05-Jun-2003/v1.0g-b73/bab) via fatcity.com id 005D41B6; Thu, 23 Oct 2003 07:49:32 -0800
Message-ID: <F001.005D41B6.20031023074932@fatcity.com>
Date: Thu, 23 Oct 2003 07:49:32 -0800
To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
X-Comment: Oracle RDBMS Community Forum
X-Sender: "Gints Plivna" <g.plivna@softex.lv>
Sender: ml-errors@fatcity.com
Reply-To: ORACLE-L@fatcity.com
Errors-To: ML-ERRORS@fatcity.com
From: "Gints Plivna" <g.plivna@softex.lv>
Subject: RE: Re: stupid dbms_job question
Organization: Fat City Network Services, San Diego, California
X-ListServer: v1.0g, build 73; ListGuru (c) 1996-2003 Bruce A. Bergman
Precedence: bulk
Mime-Version: 1.0
Content-Type: text/plain;	charset="us-ascii"
Content-Transfer-Encoding: 8bit

Just a shot in the dark
Have you set initialization parameters in the init file?

> -----Original Message-----
> From: rgaffuri@cox.net [mailto:rgaffuri@cox.net]
> Sent: Thursday, October 23, 2003 6:14 PM
> To: Multiple recipients of list ORACLE-L
> Subject: Re: Re: stupid dbms_job question
> 
> id prefer to handle this in the database.
> >
> > From: "Gene Sais" <Gsais@co.palm-beach.fl.us>
> > Date: 2003/10/23 Thu AM 10:29:33 EDT
> > To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
> > Subject: Re: stupid dbms_job question
> >
> > It's called cron :).  Or you could run a shell script that executes
then
> > sleeps for 5 mins.
> >
> > >>> rgaffuri@cox.net 10/23/03 10:09AM >>>
> > im trying to submit a job that runs every 5 minuts. Only way I can
get
> > the submit to work is as follows...
> >
> > variable jobno number;
> > variable instno number;
> > begin
> >   select instance_number into :instno from v$instance;
> >   dbms_job.submit(:jobno, 'statspack.snap;',
trunc(sysdate+1/24,'HH'),
> > 'trunc(SYSDATE+1/24,''HH'')', TRUE, :instno);
> >   commit;
> > end;
> >
> > i then do:
> >
> > dbms_job.interval(:jobno,'trunc(sysdate+1/96)';
> >
> > commit;
> >
> > my next_date column in dba_jobs is set to 15 minutes in the future,
> > HOWEVER, it doesnt actually run. The time passes, the next_date does
not
> > get set again to nother 15 minutes in the future and the job doesnt
> > run.
> >
> > Ive read the manual. Read metalink. read asktom and Im obvious too
> > stupid to figure this one out.
> >
> > --
> > Please see the official ORACLE-L FAQ: http://www.orafaq.net
> > --
> > Author: <rgaffuri@cox.net
> >   INET: rgaffuri@cox.net
> >
> > Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
> > San Diego, California        -- Mailing list and web hosting
services
> >
---------------------------------------------------------------------
> > To REMOVE yourself from this mailing list, send an E-Mail message
> > to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
> > the message BODY, include a line containing: UNSUB ORACLE-L
> > (or the name of mailing list you want to be removed from).  You may
> > also send the HELP command for other information (like subscribing).
> >
> >
> >
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Gints Plivna
  INET: g.plivna@softex.lv

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

