 |
|
Oracle Tips by Burleson |
Chapter 2 -
Configuring Oracle Job Scheduling
Overview and
Examples of dbms_job Functions
BEGIN
DBMS_JOB.what (
job => 99,
what => 'my_job_proc(''DBMS_JOB.ISUBMIT
Example (WHAT).'');');
DBMS_JOB.next_date (
job => 99,
next_date => SYSDATE + 1/12);
DBMS_JOB.interval (
job => 99,
interval => 'SYSDATE + 1/12 /* 2 Hours
*/');
COMMIT;
END;
/
The output generated by the user_jobs.sql
shows that the changes have been applied.
SQL> @jobs job_user
|
Download your Oracle scripts now:
www.oracle-script.com
The
definitive Oracle Script collection for every Oracle professional DBA
|
|