title: Golang - How to execute function at specific times
body: <p>I'm need to run a function at specific times of the day (e.g. 0010, 0610, 1210, 1810). My current approach uses a ticker <code>for _ = range time.Tick(21600 * time.Second)</code> and I manually launch the program at one of these intervals (e.g 1210). This is obviously sub-optimal. </p>
  
  <p>What's the best solution to this? I thought of running the ticker every 60 seconds and then checking to see if the time matched one of the intervals, but that doesn't seem very elegant.</p>