1

How can I set time limit for a job? Basically, I would like to fail the job after 10 minutes.

jeton
  • 841
  • 12
  • 15
  • You can set a time-limit for a threaded task using an `ExecutorService`. Source: https://stackoverflow.com/questions/2275443/how-to-timeout-a-thread – Shuba Jan 11 '19 at 16:21

0 Answers0