Announcement Announcement Module
Collapse
No announcement yet.
getting job instances Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • getting job instances

    Even if their many job instances with different names in the DB
    jobOperator.getJobNames()
    gives the job configured in the context xml only
    how do i get detailsof all the jobs

  • #2
    The JobOperator is only supposed to list the launchable jobs. You need something like

    Code:
    SELECT UNIQUE JOB_NAME from BATCH_JOB_INSTANCE
    to see the names of jobs that were previously launched but no longer available.
    Last edited by Dave Syer; May 1st, 2009, 04:05 AM. Reason: spelling

    Comment

    Working...
    X