开发者

Oracle Job not been executed for no reason

开发者 https://www.devze.com 2023-01-23 00:36 出处:网络
Im programing a job in oracle in order to execute a store procedure, but when the time comes it just does not happend any thing for no reason.

Im programing a job in oracle in order to execute a store procedure, but when the time comes it just does not happend any thing for no reason.

Is there some kind of log where I can see if an error开发者_开发知识库 happend or something?

Im using the dbms_job package to create the job

Tnks.


Since you're using DBMS_JOB

  • Are you committing after making the call to DBMS_JOB.SUBMIT? Your job can't run until you've committed.
  • Have you set JOB_QUEUE_PROCESSES to a non-zero value? Are there any other DBMS_JOB jobs running in your system?
  • Can you post the results of running the following query:
SELECT last_date, 
       last_sec, 
       next_date, 
       next_sec, 
       this_date, 
       this_sec, 
       broken, 
       failures, 
       total_time
  FROM dba_jobs
 WHERE job = <<your job number>>
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号