If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > Very urgent: DBMS_JOBS

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-06-03, 19:03
kondaoracle kondaoracle is offline
Registered User
 
Join Date: Sep 2003
Posts: 33
Very urgent: DBMS_JOBS

Hi

I hv submitted a job like this to execute it everyday at 7.00AM.


create or replace procedure DBMS_HOLIDAY_JOB
as
jobHoliday number;
begin
dbms_job.submit(
jobHoliday, 'HolidayAssign.checkHoliday;',
trunc(sysdate)+7/24,
'SYSDATE+1');
commit;
end;
/

exec DBMS_HOLIDAY_JOB;


But it was not executed at 7.00am...what cud be the pbms....any solutions or change in teh script?

Here HolidayAssign is a package and checkHoliday is a procedure. My environment is windows NT and Oracle 9.2.0

In init.ora file parameters are

JOB_QUEUE_PROCESSES=10

Last edited by kondaoracle; 10-06-03 at 20:12.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On