Announcement Announcement Module
Collapse
No announcement yet.
example of running 2 jobs?? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • example of running 2 jobs??

    -------------------------
    Last edited by pouncer; Jan 11th, 2010, 07:56 AM.

  • #2
    This works in Batch 2.1 (in 2.0 you could copy JobStep and set the same thing up with bean definitions):

    Code:
    <import resource="job*.xml"/>
    <job id="job3" ...>
        <step id="job3.step1" next="job3.step2">
            <job ref="job1" job-parameters-extractor="jobParametersExtractor1"/>
        </step>
        <step id="job3.step2">
            <job ref="job2" job-parameters-extractor="jobParametersExtractor2"/>
        </step>
    </job>

    Comment

    Working...
    X