job scheduling - Oracle job starts automatically -


i created job in oracle. set interval properly. job started automatically after created .

declare     x number;  begin      sys.dbms_job.submit (           job => x            ,what => 'missing_revenue_expense_icr;'            ,next_date => to_date('29/04/2015 04:00:00','dd/mm/yyyy hh24:mi:ss')           ,interval => '(trunc(sysdate)+1)+4/24'            ,no_parse => false );      sys.dbms_output.put_line('job number is: ' || to_char(x));     commit;  end; 

why happened? tell me fix issue.

the problem line:

next_date => to_date('29/04/2015 04:00:00','dd/mm/yyyy hh24:mi:ss') 

that parameter has misleading name, because date initial run. documentation shows happens doesn't entirely resolve ambiguity.

anyway, have given today's date started today.


Comments

Popular posts from this blog

command line - Use qwinsta in PowerShell ISE -

java - Incorrect order of records in M-M relationship in hibernate -

Python website log in: BIG-IP can not find session information in the request -