Questions tagged [dbms-scheduler]

An Oracle scheduling package.

dbms_scheduler is an Oracle scheduling package, which provides methods of scheduling single jobs or groups of jobs at regular intervals or based on a calendar.

Questions tagged should also be tagged .

Further reading:

213 questions
1
vote
0 answers

DBMS Scheduler system time one hour latee after DST

1. Problem summary I have a problem with DBMS SCHEDULERs time it is 1 hour late since DST changing 2 weeks ago. If I create a job and set the date & time the startdate is 1 hour later than system time. Everything was working fine before DST change…
1
vote
2 answers

create oracle job run procedure with parameters once

I want to create oracle job in specific date and time that runs only on that date and time once and then dropped automatically. The job should runs a procedure with 2 parameters also . note: l_id I used this variable to add number beside procedure…
1
vote
1 answer

Limit number of running jobs in Oracle Scheduler without decreasing job_queue_processes value

Is there any way to limit number of IMMEDIATE/ONCE type jobs that can run simultanously. Scenario: Parameter job_queue_processes is set to 10. There's one recurring job (Name: TEST_JOB) configured which runs after every 1 seconds interval and…
user1140840
  • 79
  • 10
1
vote
1 answer

When Dba_Scheduler_Jobs.Start_Date is not specified, where does Oracle store Job Enabling time

I've a question on DBMS_Scheduler functionality: When I create a scheduler job via DBMS_SCHEDULER.CREATE_JOB proc and I don't specify Start_Date value, then job is scheduled for execution as soon as it is enabled which is correct. I want to know…
user1140840
  • 79
  • 10
1
vote
1 answer

Oracle 11g and scheduler

How to start a database with the scheduler jobs disabled? I have an internal oracle error that causes the database to stop. This error is on the table the job has access to. When I start the database (startup with sqlplus), the database is…
Tomasz
  • 150
  • 1
  • 14
1
vote
1 answer

how to get the REPEAT_INTERVAL in minutes format of Oracle SCHEDULE?

I am using Oracle 11g Database and Repeat interval in Oracle DB is defined as string format like FREQ=MINUTELY; INTERVAL=10;. Is there any way to convert the same into +00 00:10:00.000000 this format ?
1
vote
1 answer

How to alter oracle job to run every 12hrs

I need below job to be run at every 12 hrs (example : job need to be run daily at 12:30am & 12:30pm) please someone help Code : BEGIN SYS.DBMS_JOB.CHANGE ( job => 123 ,what => 'SP_ABC;' ,next_date => TO_DATE('08/09/2020 00:30:00','dd/mm/yyyy…
1
vote
1 answer

Is it possible to pass a custom type of argument in Oracle dbms_scheduler?

I have a collection (associative array or nested table) of NUMBER variables. I want to initiate a job which invokes a stored procedure which in turn receives this very custom type and does something for each element. Now my job takes a program where…
1
vote
2 answers

Create a Job in ORACLE

I have to create a job periodically. But firstly I have create a simply job to learn how to create jobs in oracle, because is the first time I use a job. It runs at systimestamp, but the job doesn't execute. create or replace procedure…
proera
  • 123
  • 1
  • 3
  • 14
1
vote
1 answer

How can I pass a BLOB value as a DBMS job parameter?

While using DBMS_SCHEDULER.SET_JOB_ANYDATA_VALUE and passing a BLOB encapsulated in ANYDATA value the assignment fails with error: ORA-22370: incorrect usage of method ORA-06512: at "SYS.DBMS_ISCHED", line 278 ORA-06512: at "SYS.DBMS_SCHEDULER",…
Jordan Cortes
  • 271
  • 1
  • 2
  • 16
1
vote
3 answers

Job looping in Oracle scheduler

In oracle 11g, if I have a job A, is it possible to schedule it in such a way that, the job will repeatedly execute from 10am to 11am every day.
1
vote
2 answers

How to call multiple procedures in parallel in Oracle 12c?

I have a procedure as follows, CREATE OR REPLACE PROCEDURE engineering_all ( idx IN NUMBER ) IS tempstmt VARCHAR2(2000); BEGIN create_table_like( 'results_temp', 'results', 1); tempstmt := 'ALTER TABLE results_temp CACHE'; EXECUTE IMMEDIATE…
padmanabh pande
  • 367
  • 2
  • 4
  • 21
1
vote
1 answer

Oracle APEX - grabbing script output

Does APEX make it possible to call a script using dbms_scheduler, utl_file or other and grab it's output? The goal is to pass a command to an external API and show a popup either if an exception is generated or a sucess message is received. Thanks
Joao Figueiredo
  • 3,120
  • 3
  • 31
  • 40
1
vote
1 answer

Why is DBMS Scheduler changing database session language?

I have LEVSTAT_PLNGRP procedure that needs to be called at certain time and in response it makes an entry in one of the DB table. Initially select VALUE from V$NLS_PARAMETERS; query returns SWEDISH as output. when I run LEVSTAT_PLNGRP procedure…
1
vote
1 answer

Oracle: define job_priority in a Job dbms_scheduler

I Want to create a job with the highest priority in Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Production BEGIN DBMS_SCHEDULER.CREATE_JOB ( job_name => 'parseMsg', job_type => 'PLSQL_BLOCK', …
Nuñito Calzada
  • 4,394
  • 47
  • 174
  • 301