Skip to main content

Crate walrus_cron

Crate walrus_cron 

Source
Expand description

Cron scheduler — periodic agent tasks with dynamic job addition.

Exposes a create_cron tool that agents can use to schedule new jobs dynamically. Jobs fire via a caller-provided callback, and the running scheduler picks up dynamically created jobs without daemon restart.

Modules§

hook
Cron tool handler — exposes create_cron as a (Tool, Handler) pair.
parser
Cron markdown parsing.

Structs§

CronHandler
Cron handler — owns the live job list for dynamic scheduling.
CronJob
A parsed cron job ready for scheduling.

Functions§

spawn
Start the cron scheduler with an in-process protocol client.
spawn_with_callback
Start the cron scheduler with a caller-provided fire callback.