CronCreateInput
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| dict builtins dict() -> new empty dictionary |
|
⋔ Inheritance diagram¶
graph TD
3253071210["input_types.CronCreateInput"]
2645524081["builtins.dict"]
2751680898["builtins.object"]
2645524081 --> 3253071210
2751680898 --> 2645524081
🛈 DocStrings¶
Bases: TypedDict
Input for the CronCreate tool.
Source code in src/clawd_code_sdk/models/input_types.py
cron
instance-attribute
¶
Standard 5-field cron expression in local time: "M H DoM Mon DoW" (e.g.
"* /5 * * * *" = every 5 minutes, "30 14 28 2 *" = Feb 28 at 2:30pm local once).
durable
instance-attribute
¶
true = persist to .claude/scheduled_tasks.json and survive restarts.
false (default) = in-memory only, dies when this Claude session ends. Use true only when the user asks the task to survive across sessions.
recurring
instance-attribute
¶
true (default) = fire on every cron match until deleted or auto-expired after 7 days.
false = fire once at the next match, then auto-delete. Use false for "remind me at X" one-shot requests with pinned minute/hour/dom/month.