Results 1 to 2 of 2

Thread: How to retrieve last successful run date

  1. #1
    Join Date
    Mar 2011
    Posts
    9

    Default How to retrieve last successful run date

    Does Spring Batch framework provide a component to retrieve the last successful run date for a specific job? Or do I have to manually query the BATCH_JOB_EXECUTION and BATCH_JOB_INSTANCE table?

    Thanks

  2. #2

    Default

    Quote Originally Posted by gomdolyi View Post
    Does Spring Batch framework provide a component to retrieve the last successful run date for a specific job? Or do I have to manually query the BATCH_JOB_EXECUTION and BATCH_JOB_INSTANCE table?
    Perhaps you can query for last job executions via JobService interface and check the status; or retrieve all of them via JobExplorer. I suppose there is no specific method for that...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •