Other links
Radia - General Discussions
How to delete running jobs from the Core Console using table QRTZ_JOB_DETAILS.
Question
In Client Automation Enterprise (CAE),it is not possible to delete running jobs using the Core Console or the Enterprise Manager. How can these jobs be deleted and removed from the Console's Current Jobs list?
Answer
If that does not work, In a Core & Satellite environment,these job executions can be deleted by doing the following:
- Open a command prompt and navigate to <HPCA>\database\bin.
- Run mysql.exe -u ope -p ope.
- Type ope and press Enter.
- Run a SQL command to delete the running job executions.
To delete the parent job, not an individual job execution,copy its ID and run:
delete from QRTZ_JOB_DETAILS where JOB_NAME=X; (Where X is the ID for the parent job and ";" is used to commit the command).
. This will delete the parent job and all job executions under it.
Previous 3 comentários
Personally I don't believe that anybody should be encouraged to fiddle with the MYSQL database.
If you cannot delete running jobs from the Core Console webpage then it should be raised as an issue and an enhancement should be introduce to fix this.
MySQL is so problematic I have no idea why it's their considering we all have enterprise SQL or Oracle servers in place and being used for inventory.
Craig, thanks for bringing that up. I agree that this should only be used when absolutely necessary. I feel like this post was supposed to be a continuation or reply to this other article (which contains a warning). My suggestion is, if a job ever gets stuck for several days, and you're comfortable with MySQL and want to risk running the command by yourself, try deleting the problematic job execution first. Usually, the whole parent job is waiting on just one job execution. If the parent job still keeps showing up as "running" even though all job executions have ended or have been deleted, then it may be necessary to delete it from QRTZ_JOB_DETAILS.
Participate
Ask, Discuss, Answer





