已经运行的job是不能由remove删除的呀,上次我删了一下没有效果 Remove()过程来删除一个已计划运行的工作。这个过程接收一个参数:PROCEDURE Remove(job IN binary_ineger);job参数唯一地标识一个工作。这个参数的值是由为此工作调用Submit()过程返回的job参数的 已正在运行的工作不能由调用过程序删除。
查询此任务是否加入任务队列
在SQL PLUS中执行下列script
SELECT job, next_date, next_sec, failures, broken FROM user_jobs;SUBMIT Submits a job to the job queue. 向任务队列提交一个任务
REMOVE Removes a specified job from the job queue. 从任务队列中删除指定的任务
CHANGE Alters a specified job. You can alter the job description, the time at which the job will be run, or the interval between executions of the job. 改变任务
WHAT Alters the job description for a specified job. 改变指定任务的任务内容
NEXT_DATE Alters the next execution time for a specified job. 改变指定任务的下一次执行时间
INTERVAL Alters the interval between executions for a specified job. 改变指定任务的执行时间间隔。
BROKEN Disables job execution. If a job is ed as broken, Oracle does not attempt to execute it. 禁止指定任务的执行
Remove()过程来删除一个已计划运行的工作。这个过程接收一个参数:PROCEDURE Remove(job IN binary_ineger);job参数唯一地标识一个工作。这个参数的值是由为此工作调用Submit()过程返回的job参数的
已正在运行的工作不能由调用过程序删除。
在SQL PLUS中执行下列script
SELECT job, next_date, next_sec, failures, broken
FROM user_jobs;SUBMIT
Submits a job to the job queue. 向任务队列提交一个任务
REMOVE
Removes a specified job from the job queue. 从任务队列中删除指定的任务
CHANGE
Alters a specified job. You can alter the job description, the time at which the job will be run, or the interval between executions of the job. 改变任务
WHAT
Alters the job description for a specified job. 改变指定任务的任务内容
NEXT_DATE
Alters the next execution time for a specified job. 改变指定任务的下一次执行时间
INTERVAL
Alters the interval between executions for a specified job. 改变指定任务的执行时间间隔。
BROKEN
Disables job execution. If a job is ed as broken, Oracle does not attempt to execute it. 禁止指定任务的执行
RUN
Forces a specified job to run. 强制执行指定的任务