Skip to content

CronCreateOutput

Base classes

Name Children Inherits
dict
builtins
dict() -> new empty dictionary

⋔ Inheritance diagram

graph TD
  3906716327["output_types.CronCreateOutput"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 3906716327
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

Output of the CronCreate tool.

Source code in src/clawd_code_sdk/models/output_types.py
class CronCreateOutput(TypedDict):
    """Output of the CronCreate tool."""

    id: str
    humanSchedule: str
    recurring: bool
    durable: NotRequired[bool]
    nextFireAt: NotRequired[float]
    """Epoch ms of the job's next run, the scheduler's per-job offset included"""
    maxAgeMs: NotRequired[float]
    """Age at which a recurring job ends; 0 = never"""
    otherOneShots: NotRequired[list[CronCreateOneShot]]
    """Other session-only one-shot tasks that have yet to fire"""

maxAgeMs instance-attribute

maxAgeMs: NotRequired[float]

Age at which a recurring job ends; 0 = never

nextFireAt instance-attribute

nextFireAt: NotRequired[float]

Epoch ms of the job's next run, the scheduler's per-job offset included

otherOneShots instance-attribute

otherOneShots: NotRequired[list[CronCreateOneShot]]

Other session-only one-shot tasks that have yet to fire

:fa-brands-github: Show source on GitHub