begin dbms_scheduler.create_job(job_name => ‘JOB_BASIC_STATISTIC‘, job_type => ‘STORED_PROCEDURE‘, job_action => ‘PROC_BASIC_STATISTIC‘, --存储过程名 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 => ‘执行定时统计数据‘); commit; end;
原文地址:https://www.cnblogs.com/jmy520/p/12146707.html
时间: 2024-11-16 09:42:33