MCPcopy Index your code
hub / github.com/carlescere/scheduler

github.com/carlescere/scheduler @0.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.1 ↗ · + Follow
61 symbols 313 edges 2 files 15 documented · 25%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

scheduler

GoDoc Build Status Coverage Status

Job scheduling made easy.

Scheduler allows you to schedule recurrent jobs with an easy-to-read syntax.

Inspired by the article Rethinking Cron and the schedule python module.

How to use

job := func() {
      fmt.Println("Time's up!")
}

scheduler.Every(5).Minutes().Run(job)
scheduler.Every().Day().Run(job)
scheduler.Every().Monday().At("08:30").Run(job)

License

Distributed under MIT license. See LICENSE for more information.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Every
called by 30
scheduler.go
Run
called by 30
scheduler.go
At
called by 12
scheduler.go
nextRun
called by 9
scheduler.go
Day
called by 9
scheduler.go
Monday
called by 8
scheduler.go
Seconds
called by 8
scheduler.go
dayOfWeek
called by 7
scheduler.go

Shape

Function 36
Method 20
Struct 4
Interface 1

Languages

Go100%

Modules by API surface

scheduler_test.go34 symbols
scheduler.go27 symbols

For agents

$ claude mcp add scheduler \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact