Create Simple Job - Oracle

DBA Geral (instalação, configuração do banco, scripts do Sql*Plus, shell scripts, batch scripts, etc...)
Post Reply
GabrielDB
Rank: Estagiário Sênior
Rank: Estagiário Sênior
Posts: 8
Joined: Sun, 03 Nov 2013 7:20 am

Good Morning!

I am a beginner in Oracle, I have the need to create a simple job to perform procedures
IDE -> Oracle SQL Developer

99] Thanks for the help
User avatar
dr_gori
Moderador
Moderador
Posts: 5026
Joined: Mon, 03 May 2004 3:08 pm
Location: Portland, OR USA
Contact:
Thomas F. G

Você já respondeu a dúvida de alguém hoje?
https://glufke.net/oracle/search.php?search_id=unanswered

User avatar
Rafael de oliveira
Rank: Estagiário Pleno
Rank: Estagiário Pleno
Posts: 4
Joined: Thu, 27 Mar 2014 1:55 pm
Analista Desenvolvedor de Sistema
Metta Informática - Lençóis Paulista

Good afternoon, I created a job that will run a procedure.

I want it to run every 30 minutes.

Select all

 
begin 
  sys.dbms_job.change(job => 66, 
                      what => 'LOG_RES_PROD_FECHADO_RESUMO;', 
                      next_date => to_date('27-03-2014 14:00:00', 'dd-mm-yyyy hh24:mi:ss'), 
                      interval => 'SYSDATE + 1/48'); 
  commit; 
end; 
He currently performs as follows, begins at 14:00:00, the next he plays for 14:30:06, then 15:00:13 and so by against.
He changes half in half an hour, but he is adding the runtime to the next run.
I would like no way, to execute whenever at certain times 14:00:00, 14:30:00 and so on.

What am I doing wrong in the creation of Job and what should I do to correct?

Thanks for everyone's attention.
Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest