title: How to detect if a Scheduled SpringBoot task has been deadlocked?
body: <p>I have a scheduled task using SpringBoot Scheduled to run Monday through Friday at 10 AM.
  I'm running my application in a docker container and my machine is suspended from 6pm to 9am overnight.
  When I start my machine, my tasks that were scheduled for 10 hours do not run unless I restart the container before the scheduled time.
  I have application logs, no log record occurs that is inside the method with the @Scheduled annotation when this occurs.
  With that I believe it's a deadlock.
  I wonder if there is any way to detect a deadlock in the Springboot Scheduled programmatically.</p>
  
  <p>My Cron expression: "0 0 10 * * MON-FRI"</p>
  
  <p>Note: I'm testing on my machine to later host on an appropriate server.</p>