Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to schedule a JOB in oracle

Knidhi-OracleMar 25 2009 — edited Mar 30 2009
hi experts,
i dont know why the following job has not run between the time from '25/MAR/2009 03:45 PM' to '25/MAR/2009 03:46 PM'.
i have kept the repeat_interval => 'FREQ=SECONDLY'. so i believe this job has to run 60 time, but its not running. please check this and guide me the right direction.

create table temp1(id number,value varchar2(25));

begin
dbms_scheduler.create_job(
job_name => 'SCHE_TEST'
,job_type => 'PLSQL_BLOCK'
,job_action => 'begin INSERT INTO temp1 VALUES (1, ''TEST'') end; '
,start_date => '25/MAR/2009 03:45 PM'
,end_date => '25/MAR/2009 03:46 PM'
,repeat_interval => 'FREQ=SECONDLY'
,enabled => TRUE
,comments => 'Demo for job schedule.');
end;

My ORACLE version is 10g

thanks
nidhi

Edited by: knidhi on Mar 25, 2009 4:21 PM

Edited by: knidhi on Mar 25, 2009 4:23 PM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 27 2009
Added on Mar 25 2009
8 comments
593 views