title: Golang Cronjob vs time.Ticker usecase
body: <p>I need to implement a service for my web server that refreshes an access token from some outside rest-api because that token has a 10 minute expiration time. (This is not an accesstoken that my server produces, it is 
  a token I receive from an outside api that allows me to use their services for a limited time)</p>
  
  <p>For implementing timed functions in Go I've come across both cronjobs and functions using time.Ticker, however I havent come across any posts on the advantages/disadvantages of using one over the other and would like to one which would possibly be a better use for my situation. </p>
  
  <p>If there is an optional route I'd be open to exploring it as well.</p>
  
  <p>Thank you  </p>