Oracle Scheduler(4)job呼叫program和schedule
program決定做什麼;schedule決定何時做;job則起到觸發的作用:做。
BEGIN
dbms_scheduler.create_program (
program_name => 'my_program',
program_action => 'E:\mytest.bat',
program_type => 'EXECUTABLE',
enabled => TRUE );
END;
/
BEGIN
dbms_scheduler.create_schedule (
schedule_name => 'my_schedule',
start_date => sysdate,
repeat_interval => 'FREQ=MINUTELY; INTERVAL=1');
END;
/
BEGIN
dbms_scheduler.create_job (
job_name => 'my_job',
program_name => 'my_program',
schedule_name => 'my_schedule',
enabled => TRUE);
END;
/
BEGIN
dbms_scheduler.create_program (
program_name => 'my_program',
program_action => 'E:\mytest.bat',
program_type => 'EXECUTABLE',
enabled => TRUE );
END;
/
BEGIN
dbms_scheduler.create_schedule (
schedule_name => 'my_schedule',
start_date => sysdate,
repeat_interval => 'FREQ=MINUTELY; INTERVAL=1');
END;
/
BEGIN
dbms_scheduler.create_job (
job_name => 'my_job',
program_name => 'my_program',
schedule_name => 'my_schedule',
enabled => TRUE);
END;
/
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29485627/viewspace-1817492/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle Scheduler(5)job呼叫programOracle
- Oracle OCP 1Z0-053 (Schedule&Program&Job)Oracle
- 全面學習ORACLE Scheduler特性(4)建立和管理ScheduleOracle
- Oracle 任務管理之 ----program(程式)---scheduler(計劃)--Job(任務)Oracle
- 【JOB】Oracle JOB全面學習(DBMS_JOB和DBMS_SCHEDULER)Oracle
- 揭開job,scheduler,program,chain,job_class,window,window_group神祕面紗AI
- Oracle資料庫——Scheduler JobOracle資料庫
- oracle DBMS_SCHEDULER_job 管理Oracle
- Oracle Scheduler Job未能按時啟動Oracle
- 關於oracle後臺啟用的schedule jobOracle
- 使用DBMS_JOB和DBMS_SCHEDULER建立、管理job示例
- oracle10g job 相關-dbms_scheduler.create_job(轉載)Oracle
- 全面學習ORACLE Scheduler特性(11)使用Job ClassesOracle
- Oracle Scheduler(3)呼叫批處理Oracle
- Oracle Scheduler(2)呼叫批處理Oracle
- Quartz job scheduler 學習quartz
- Oracle資料庫10g schedule job的常用操作:Oracle資料庫
- Oracle OCP IZ0-053 Q651(Scheduler Job)Oracle
- ORACLE dbms_scheduler.create_job建立job作業遭遇PLS-00306Oracle
- Oracle dbms_scheduler建立帶輸入引數的JOBOracle
- Oracle OCP 1Z0 Q455(Schedule Job-End_DATE)Oracle
- Oracle OCP IZ0-053 Q449(Scheduler Window&Resource Plan&Schedule Object)OracleObject
- Oracle無法自動排程DBMS_JOB&DBMS_SCHEDULER案例分析Oracle
- Oracle DBMS_SCHEDULER呼叫作業系統指令碼Oracle作業系統指令碼
- oracle定時任務dbms_job與dbms_scheduler使用方法Oracle
- oracle schedule 使用大全Oracle
- 利用SCHEDULER呼叫shell指令碼指令碼
- Oracle Scheduler概述Oracle
- 使用BAT呼叫RMAN備份,用SCHEDULER呼叫BAT,省心BAT
- oracle job的建立和刪除Oracle
- oracle jobOracle
- Oracle Database Scheduler整理OracleDatabase
- oracle scheduler任務Oracle
- Oracle DBMS_SCHEDULEROracle
- Java程式呼叫kettle中的job(.kjb)和Trans(.ktr)Java
- Web Development Job in 4Webdev
- oracle concurrent program session and sqlOracleSessionSQL
- oracle建立job並執行jobOracle