Skip to content

Latest commit

 

History

History
6 lines (4 loc) · 281 Bytes

File metadata and controls

6 lines (4 loc) · 281 Bytes

Graceful shutdown with repeating "cron" jobs (running at a regular interval) in Go

Illustrates how to implement the following in Go:

  • run functions ("jobs) at a specified interval
  • gracefully shutdown a running process (and wait for any ongoing "job" runs to finish)