Announcement Announcement Module
No announcement yet.
Limit number of concurrent executing jobs Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Limit number of concurrent executing jobs

    Is there a way to limit the number of jobs that are executing concurrently? I have a job that I want to limit to 1 instance processing at any given time. Any other instances would be queued until completed and then the next in line started.

  • #2
    Your question seems to be outside the scope of the Spring Batch framework. It seems like you should be using your scheduler (or, perhaps, a custom JobLauncher) to control when, or if, a job is launched.