Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: DBMS Job not running (time change)

Re: DBMS Job not running (time change)

From: <David.E.M...._at_gmail.com>
Date: 16 Feb 2006 08:06:38 -0800
Message-ID: <1140105998.655763.277820@g14g2000cwa.googlegroups.com>


I finally got around to trying this. Apparently oracle doesn't like the interval...

SQL> variable v_JobNo number;
SQL> exec dbms_job.submit(:v_JobNo, 'test;', TRUNC(SYSDATE),
'TRUNC(SYSDATE)+(1/8640)');

BEGIN dbms_job.submit(:v_JobNo, 'test;', TRUNC(SYSDATE),
'TRUNC(SYSDATE)+(1/8640)'); END;
*
ERROR at line 1:

ORA-23420: interval must evaluate to a time in the future
ORA-06512: at "SYS.DBMS_JOB", line 57
ORA-06512: at "SYS.DBMS_JOB", line 134
ORA-06512: at line 1
Received on Thu Feb 16 2006 - 10:06:38 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US