Hi Roland,

declare
  l_job number;
begin
  dbms_job.submit( l_job, 'procedure;', 
                        trunc(sysdate)+18/24, 'trunc(sysdate)+18/24' );
end;

This runs at exactly 6pm every day (18 hours into the day, replace procedure
with the name of the stored procedure that you want to run.

Cheers,
Kev

"hit any user to continue"
__________________

Kevin Thomas
Technical Analyst
Deregulation Services
Calanais Ltd.
(2nd Floor East - Weirs Building)
Tel: 0141 568 2377
Fax: 0141 568 2366
http://www.calanais.com

-----Original Message-----
Sent: 11 September 2001 10:00
To: Multiple recipients of list ORACLE-L


Hallo,

Can anyone tell me a example on a script which does the following:

- Starts  a job, a pl/sql-procedur,  at 6 pm  every day,
- If  something goes wrong then I want  information to  be logged.
(Should I include the logging in the pl/sql procedur)


Thanks in  advance


Roland S







-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (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.com
-- 
Author: Thomas, Kevin
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (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).

Reply via email to