Announcement Announcement Module
No announcement yet.
unregister the jobs Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • unregister the jobs

    Hi All,
    I need to run the Batchs, like every morning, evening, monthly, yearly and also adhoc mode. Every batch has more than 50 jobs. According to the job parameters, master job will identify the type of batch to execute (either morning or evening). Master job pick the child_jobs.xml name from the database, register it and executed. Registed jobs (Child jobs) need to unregister once the jobs is finished.

    I have used the below code to unregister it. But still the jobs available in the JVM.


    This is the way to unregister the job or any other option is there?

    Note: I am using spring batch 2.1, Hibernate, Sql server 2005

    Thanks for your reply in advance.