Call (800) 766-1884 for Oracle support & training
Free Oracle Tips


Oracle Consulting Support
Oracle Upgrades
Use New Oracle Features
Oracle Replication Support
Oracle Training
Remote Oracle DBA
System Documentation
Oracle Tips
Oracle Performance
 

Free Oracle Tips


 

HTML Text

BC Oracle tuning

Oracle training

Oracle support

Remote Oracle

 

 

   
  Oracle Tips by Burleson

Oracle Job Scheduling

Chapter 2 - Configuring Oracle Job Scheduling

Overview and Examples of dbms_job Functions

 JOB WHAT                                              NEXT_DATE            INTERVAL
---- ------------------------------------------------- -------------------- ---------
   3 my_job_proc('DBMS_JOB.SUBMIT Example.');                22-JUN-2004 11:11:25 SYSDATE + 1/24 /* 1 Hour */
  99 my_job_proc('DBMS_JOB.ISUBMIT Example (WHAT).');        22-JUN-2004 12:24:13 SYSDATE + 1/12 /* 2 Hours */

2 rows selected.

The entire job definition can also be changed back using the change procedure.  If the what, next_date or interval parameters are NULL, the existing value is unchanged.

BEGIN

  DBMS_JOB.change (
    job       => 99,
    what      => 'my_job_proc(''DBMS_JOB.ISUBMIT Example.'');',
    next_date => TO_DATE('22-JUN-2004 10:11:20', 'DD-MON-YYYY HH24:MI:SS'),
    interval  => 'SYSDATE + 1/24 /* 1 Hour */');
  COMMIT;
END;
/


The above text is an excerpt from:


Oracle Job Scheduling
Creating Robust Task Management with dbms_job and Oracle10g dbms_scheduler

ISBN 0-9744486-6-4

by Dr. Timothy S. Hall
 

http://www.rampant-books.com/book_2005_1_scheduling.htm


Download your Oracle scripts now:

www.oracle-script.com

The definitive Oracle Script collection for every Oracle professional DBA

  
 

Oracle performance tuning software 
 
 
 
 

Oracle performance tuning book

 

 
 
 
Oracle performance Tuning 10g reference poster
 
 
 
Oracle training in Linux commands
 
Oracle training Excel
 
Oracle training & performance tuning books
 

 

   

Copyright © 1996 -  2014 by Burleson. All rights reserved.

Oracle® is the registered trademark of Oracle Corporation.