Last active
August 29, 2015 14:27
-
-
Save nervouswiggles/e9f7c108d1757c580c49 to your computer and use it in GitHub Desktop.
Data is Stale - OIM 11g Database manipulation to cleanup the scheduled tasks. Check out https://technicalconfessions.com/posts.php?post_id=407
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select * from JOB_HISTORY where job_name = 'PUT_YOUR_SCHEDULE_TASK_NAME_HERE'; | |
delete from JOB_HISTORY where job_name = 'Student CRN Cleanup Task'; | |
commit; | |
delete from QRTZ92_FIRED_TRIGGERS where TRIGGER_NAME in ( | |
select trigger_name from QRTZ92_TRIGGERS where JOB_NAME ='PUT_YOUR_SCHEDULE_TASK_NAME_HERE'); | |
commit; | |
delete from QRTZ92_SIMPLE_TRIGGERS where TRIGGER_NAME in ( | |
select trigger_name from QRTZ92_TRIGGERS where JOB_NAME ='PUT_YOUR_SCHEDULE_TASK_NAME_HERE'); | |
commit; | |
delete from QRTZ92_TRIGGERS where JOB_NAME ='PUT_YOUR_SCHEDULE_TASK_NAME_HERE'; | |
commit; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment