Structs§
- Scheduler
- A scheduler can schedule jobs.
Add the jobs to the scheduler and then call
runto run the jobs.
Traits§
- Job
- A trait for jobs that can be scheduled.
The
cronmethod should return a cron expression that defines when the job should run. Therunmethod will be called when the job is scheduled to run.