padurean / golang-graceful-shutdown-and-repeating-cron-jobs

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

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


Languages

Language:Go 100.0%