Scheduled job flow
Enable Cron for the Service
Set
cron = true in tovuk.toml before relying on scheduled Rust worker
jobs for that Service.Implement the internal handler
Handle
POST /.tovuk/cron/<trigger> in the Rust worker. Keep the handler
idempotent because scheduled delivery can overlap with retries or manual
agent actions.CLI workflow
Dashboard
Dashboard Cron controls are available athttps://tovuk.com/account/resources and
https://tovuk.com/<handle>/resources. The Resources view can create, update,
pause, resume, and delete Cron triggers through the same API routes as the CLI.
API
POST /v1/services/{service_id}/cronPUT /v1/services/{service_id}/cron/{trigger}DELETE /v1/services/{service_id}/cron/{trigger}
POST /.tovuk/cron/<trigger>.
Public traffic to /.tovuk/* is blocked.
Meters and caps
Cron delivery counts as Worker usage because it wakes and runs the Rust worker. Useworker_requests, worker_cpu_ms, and worker_transfer_bytes caps.
Rules
- Cron handlers must be idempotent.
- Cron handlers must tolerate retries and overlapping manual agent actions.
- Cron handlers have a 15 minute wall-clock limit.
- Keep long fan-out work in Queues.