This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.
No announcement yet.
Limit number of concurrent executing jobsPage Title Module
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.
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.