Core Concepts of gocron
v2Understanding the three main components of gocron:
- Job: Encapsulates a "task" (a Go function and its parameters) and provides the scheduler with the next scheduled run time.
- Scheduler: Manages all jobs and dispatches them to the executor when they are ready to run.
- Executor: Executes the job's task and manages execution complexities like concurrency limits and singleton modes.