|
|
Re: how to create a job which runs automatically for every 4 minutes [message #39153 is a reply to message #39146] |
Fri, 21 June 2002 02:41 |
ksr
Messages: 112 Registered: January 2002
|
Senior Member |
|
|
The job does not run.
One more thing,i see the jobs in the dba_jobs table,but now how to remove the jobs from that table.
how do i check whether the job is running or not
declare
TEST_JOB pls_integer :=10;
BEGIN
dbms_job.submit( job => TEST_JOB,
what => 'jobtest;',
next_date => sysdate,
interval => 'sysdate + (5/(24*60))');
--dbms_job.submit(:jb,'BEGIN YOUR_PROC;END;',SYSDATE,'SYSDATE+(4/(24*60))');
--COMMIT;
END;
end;
CREATE OR REPLACE PROCEDURE jobtest as
begin
update test1 set col1= col1 + 1;
commit;
end;
|
|
|
|