title: Renew Token before 2 min expire time spring boot
body: <p>Am working on a spring boot application having token authentication.
  Have a scenario<br />
  <strong>renew the token 2 minute before the expire time.</strong></p>
  <p>which one is better for above scenario</p>
  <ol>
  <li>Timer Task</li>
  <li>Scheduler</li>
  </ol>