Back to Cherry Studio

Job & Scheduler

docs/references/job-and-scheduler/README.md

2.0.01.5 KB
Original Source

Job & Scheduler

Cherry Studio unified background job + time-scheduling system.

DocWhat it coversAudience
overview.mdArchitecture, two-service separation, DB-driven dispatchNew contributors
scheduler-usage.mdDecision tree: SchedulerService vs registerInterval vs raw setIntervalAll consumers
concurrency-and-locks.mdFour-layer lock model + business-level resource locksHandler authors
handler-authoring.mdHow to write a JobHandler (recovery / retry / catchUp / progress)Handler authors
migration-checklist.mdStep-by-step checklist for migrating existing servicesService migrators

Quick navigation