About Oracle in job timer configuration example (created by create_job)

begin
dbms_scheduler.create_job(job_name => 'JOB_BASIC_STATISTIC',
job_type => 'STORED_PROCEDURE',
job_action => ' PROC_BASIC_STATISTIC ' , - stored procedure name
start_date => to_date(to_char(sysdate,'yyyy-mm-dd')||' 19:32:00', 'yyyy-mm-dd hh24:mi:ss'),
REPEAT_INTERVAL => 'freq=minutely;interval=1',
enabled => true,
end_date => to_date(to_char(sysdate,'yyyy-mm-dd')||' 20:34:00', 'yyyy-mm-dd hh24:mi:ss'),
Comments => ' execution timing statistics ' );
commit;
end;

Guess you like

Origin www.cnblogs.com/jmy520/p/12146707.html