2024-09-24 16:45:09 +02:00
2024-09-14 10:38:14 +02:00
2024-09-14 10:38:14 +02:00
2024-09-14 10:38:14 +02:00
2024-09-14 10:38:14 +02:00
2024-09-24 16:45:09 +02:00
2024-09-14 10:38:14 +02:00

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.
Readme 52 KiB
Languages
Go 99.7%
Makefile 0.3%