Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Problem while scheduling Jobs

Re: Problem while scheduling Jobs

From: <Chaim.Katz_at_Completions.Bombardier.com>
Date: Fri, 7 Jul 2000 12:08:47 -0400
Message-Id: <10551.111447@fatcity.com>


I'm not too sure about the error that is being raised: (maybe the string new_date, doesn't look like dd-mm-yyyy'), (you can put an exception handler in your function and that will prevent errors being written to the the alert log),

but If you want to dynamically re-schedule a job in the job queue, I think you do it this way:
  . create the function or procedure with an in-out date parameter, eg.

     myproc(next_date_in_out IN OUT DATE);  . inside the procedure: set the in out parameter to the next time you want the job to run,

    next_date_in_out := sysdate + 10;
. insert the procedure into the jobq using the key-word next_date:

   dbms_job.submit(:job,myproc (next_date);,... Received on Fri Jul 07 2000 - 11:08:47 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US