* Adds job repo * Adds scheduler * Adds plugin table which is a place holder for future expansion of the scheduler. Currently all jobs that are created are linked to the pi_system plugin which are jobs that are held in a local registeredJobs map populated at controller startup.
7 lines
361 B
Go
7 lines
361 B
Go
// Package scheduler allows callers to register recurring jobs on the controller. The scheduler
|
|
// will periodically query the repository for registered jobs that should be run.
|
|
//
|
|
// Before a job can be invoked by the scheduler, it must be made known to the scheduler
|
|
// by being registered on the instance of the scheduler that is running.
|
|
package scheduler
|