Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting information about job executions, waiting to be started [BATCH-2831] #783

Open
spring-issuemaster opened this issue Jul 12, 2019 · 1 comment

Comments

@spring-issuemaster
Copy link
Collaborator

@spring-issuemaster spring-issuemaster commented Jul 12, 2019

Dmytro Patserkovskyi opened BATCH-2831 and commented

We have possibility go get all running jobs via JobExplorer

Set<JobExecution> executions = jobExplorer.findRunningJobExecutions("jobName");

This method returns all executions of the job with status STARTED. It would be great to have possibility to get all job executions, which are waiting in the queue to be started (with status STARTING and without start time). Something like:

Set<JobExecution> executions = jobExplorer.findStartingJobExecutions("jobName");

 
https://stackoverflow.com/questions/56986334/spring-batch-find-starting-job-executions


No further details from BATCH-2831

@mhmdchebbi
Copy link

@mhmdchebbi mhmdchebbi commented Jan 18, 2020

i suggest a method that return the names of the job instance, not the instance them self after that the final user can use it for it's specific need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.