declare
l_job number := null;
begin
sys.dbms_job.submit(job => l_job,
what => 'begin PROC_BEGIN_BACKUP; end;',
next_date => sysdate + 1,
interval => '(trunc(SYSDATE))+1 +(22/ 24)');
commit;
end;
ORA-23319: parameter value "(trunc(SYSDATE))+1 +(22/ 24)" is not appropriate
ORA-06512: at "SYS.DBMS_JOB", line 57
ORA-06512: at "SYS.DBMS_JOB", line 129
ORA-06512: at line 4
SQL>
This work on 15 of my database except this one.
Any idea why?
The procedure exist, the problem is with the interval i put. It works everywhere, we have that thing running on our database since 3 years.
All on the sudden i get those error in my alert file:
Tue Jan 02 10:55:23 2007
Errors in file D:\oracle\DATABASE\admin\larry\bdump\larrySNP0.TRC:
ORA-00604: error occurred at recursive SQL level 1
ORA-00942: table or view does not exist
ORA-12012: error on auto execute of job 2
ORA-00942: table or view does not exist
Tue Jan 02 10:55:26 2007
Errors in file D:\oracle\DATABASE\admin\larry\bdump\larrySNP5.TRC:
ORA-12012: error on auto execute of job 2
ORA-00942: table or view does not exist
So i dropped the job. i dont have those ora in my alert file anymore.
But when i want to re-create the job. It does not work.
The procedure is not the problem. i can run it manualy with no prob.
Bookmarks