harnest.cron to create schedules for the active user. For fixed application schedules, see Cron schedules.
Setup
Register the same provider with@lifecycle.storage.tasks and @lifecycle.storage.cron (storage setup) and keep harnest serve . running. Expressions use five cron fields in UTC. harnest run does not activate schedules.
Create a schedule from a Tool
For user-owned schedules created at runtime, share the task throughlib/ and re-export it from tasks/:
key and definition return the existing job, even if paused or cancelled. Reusing the key with different settings raises CronConflictError.
Inspect and control schedules
Call these APIs from managed runtime code. Each operation is scoped to the active user; returned jobs also exposeupdate, pause, resume, cancel, and delete methods.
Cancelling or deleting stops future runs, not queued or running tasks. Cancelled jobs cannot be updated or resumed.