Reviewed-on: https://gitea.thegux.fr/rmanach/cycle-scheduler/pulls/1
cycle-scheduler
cycle-scheduler is a simple scheduler handling tasks and executes them at regular interval. If a task is not in desired state, the task is re-scheduled with a backoff.
Run
You can run sample tests from main.go to see the scheduler in action:
make run
You can adjust the clock interval and the number of workers as needed in main.go constants section:
const (
MaxWorkers = 5
Interval = 2000 * time.Millisecond
)
Description
cycle-scheduler is a simple scheduler handling jobs and executes them at regular interval.
Languages
Go
99.7%
Makefile
0.3%