title: DBMS_SCHEDULER in apex oracle
body: <p>I have an API package written. It has the GET_INFO procedure. I want this procedure to be performed in the background every 20 minutes. I understand what I should do with dbms_scheduler. But in general I do not understand where to register them . I will be grateful for the example or for your help with this)</p>
  
  <p>I wrote such a code but I don't know where to use it:</p>
  
  <pre><code>BEGIN
  
  DBMS_SCHEDULER.CREATE_JOB (
  
  job_name = 'My_Job',
  
  job_type = 'STORED_PROCEDURE',
  
  job_action = 'INSERT INTO TEST2(UPDATEDAT)
  
  VALUES (sysdate);
  
  END;',
  
  start_date = 'systimestamp',
  
  repeat_interval = 'FREQ=SECONDLY;INTERVAL=5',
  
  end_date = null,
  
  auto_drop = FALSE,
  
  comments = 'My new job');
  
  END;
  </code></pre>
  
  <p>Here is my code and I don't know where to store it.</p>