Skip to Main Content

Database Software

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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

DBMS_SCHEDULER FILE_WATCHER_PROGRAM disappeared

MarkStewartNov 26 2024 — edited Nov 26 2024

I have a development and a production database. On the production database, our file watcher stopped working. After digging through things, I see a row in DBA_SCHEDULER_JOBS that is present in development, but not in production. All the “run-time” data are present in development and production.

Development:

Dev> select  owner, program_owner, program_name, schedule_owner, schedule_name, job_name, job_type, job_class
from dba_scheduler_jobs where job_name='FILE_WATCHER';

OWNER PROGRAM_OWNER PROGRAM_NAME          SCHEDULE_OWNER SCHEDULE_NAME          JOB_NAME      JOB_TYPE JOB_CLASS
----- ------------- --------------------- -------------- ---------------------- ------------- -------- --------------------------
SYS   SYS           FILE_WATCHER_PROGRAM  SYS            FILE_WATCHER_SCHEDULE  FILE_WATCHER           SCHED$_LOG_ON_ERRORS_CLASS

Production:

Prod>  select  owner, program_owner, program_name, schedule_owner, schedule_name, job_name, job_type, job_class 
from dba_scheduler_jobs where job_name='FILE_WATCHER';

no rows selected

Database Version:

Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 Version 19.22.0.0.0

I have looked in vain at the documentation for DBMS_SCHEDULER to find procedure to recreate it; the dba_scheduler_jobs view column JOB_TYPE is null; which seems to be a required value for the various procedures in that package.

This seems to have started after the patch to 19.22.

This post has been answered by MarkStewart on Nov 26 2024
Jump to Answer
Comments
Post Details
Added on Nov 26 2024
1 comment
32 views