Warning: Creating default object from empty value in /home/customer/www/gavinsoorma.com/public_html/wp-content/themes/specular/admin/inc/class.redux_filesystem.php on line 29
Grid control- Manual deletion of jobs | Oracle DBA – Tips and Techniques
News
Perth, Australia
+ (61) 417713124
prosolutions@gavinsoorma.com

Grid control- Manual deletion of jobs

  • Posted by Arjun Raja
  • On July 13, 2009
  • 0 Comments

MANUAL DELETION OF GRID CONTROL JOBS.

Sometimes GRID CONTROL jobs may show as RUNNING although they have completed.

This will restrain the job from returning to the ‘SCHEDULED’ state and thereby will not run.

To manually remove a job in the job queue from the backend –

Login to the repository owner in the Grid Control repository database –

Repository owner – SYSMAN

Repository database – EMREP

SYSMAN@emrep> select job_id, job_name, job_owner from mgmt_job where job_name like ‘%BACKUP%’;

JOB_ID
——————————–
JOB_NAME
—————————————————————-
JOB_OWNER
——————————————————————————–
5C153E5F858740BCE0430AFEC84040BC
TEST BACKUP

Firstly stop all executions of this job.

SYSMAN@emrep> exec mgmt_job_engine.stop_all_executions_with_id(‘5C153E5F858740BCE0430AFEC84040BC’,TRUE);

PL/SQL procedure successfully completed.

SYSMAN@emrep> commit;

Commit complete.

Finally remove this job from the job_management engine.

SYSMAN@emrep> exec mgmt_job_engine.delete_job(‘5C153E5F858740BCE0430AFEC84040BC’);

PL/SQL procedure successfully completed.

SYSMAN@emrep> commit;

Commit complete.

 

0 Comments

Leave Reply

Your email address will not be published. Required fields are marked *