Popularity
4.6
Stable
Activity
0.0
Stable
141
3
14

Programming language: Go
License: MIT License
Tags: Utilities    

clockwerk alternatives and similar packages

Based on the "Utilities" category.
Alternatively, view clockwerk alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of clockwerk or a related project?

Add another 'Utilities' Package

README

clockwerk

Build Status   Coverage Status   Go Report Card   GoDoc

Job Scheduling Library

clockwerk allows you to schedule periodic jobs using a simple, fluent syntax.

Usage

go get github.com/onatm/clockwerk
package main

import (
  "fmt"
  "time"
  "github.com/onatm/clockwerk"
)

type DummyJob struct{}

func (d DummyJob) Run() {
  fmt.Println("Every 30 seconds")
}

func main() {
  var job DummyJob
  c := clockwerk.New()
  c.Every(30 * time.Second).Do(job)
  c.Start()
}