Oracle Consulting Oracle Training Oracle Support Development
Home
Catalog
Oracle Books
SQL Server Books
IT Books
Job Interview Books
eBooks
Rampant Horse Books
911 Series
Pedagogue Books

Oracle Software
image
Write for Rampant
Publish with Rampant
Rampant News
Rampant Authors
Rampant Staff
 Phone
 800-766-1884
Oracle News
Oracle Forum
Oracle Tips
Articles by our Authors
Press Releases
SQL Server Books
image
image

Oracle 11g Books

Oracle tuning

Oracle training

Oracle support

Remote Oracle

STATSPACK Viewer

Privacy Policy

 

   
  Oracle Tips by Burleson

Oracle Job Scheduling

Chapter 2 - Configuring Oracle Job Scheduling

Jobs

BEGIN
  -- Run job synchronously.
  DBMS_SCHEDULER.run_job (
    job_name            => 'test_full_job_definition',
    use_current_session => FALSE);

  -- Stop jobs.
  DBMS_SCHEDULER.stop_job (
    job_name => 'test_full_job_definition,
test_prog_sched_job_definition');
END;
/

A new job can be created as a replica of an existing job using the copy_job procedure.  The new job is created in the disabled state, with the old job remaining unchanged.

PROCEDURE copy_job (
  old_job                 IN VARCHAR2,
  new_job                 IN VARCHAR2)

The parameters associated with this procedure and their usage are as follows:

  • old_job - The name of the job whose attribute will be duplicated to create the new job.
     

  • new_job - The name of the duplicate job to be created.

An example of its usage might be as follows:


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

Linux Oracle commands syntax poster

ION Oracle tuning software

Oracle data dictionary reference poster



Oracle Forum

BC Oracle consulting support training

BC remote Oracle DBA   

 

   

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


Oracle® is the registered trademark of Oracle Corporation. SQL Server® is the registered trademark of Microsoft Corporation. 
Many of the designations used by computer vendors to distinguish their products are claimed as Trademarks