$worker

cron

v0.1.1

Schedule functions with cron expressions - registers the `cron` trigger type.

  • macOS: arm64 · x64
  • Linux: arm64 · armv7 · x64
  • Windows: arm64 · x64 · x86

functions

1

cron::on-config-change

function

Internal: reload cron configuration from the authoritative store on change.

request
empty object
response
  • okbooleanrequired

triggers

1

cron

trigger

Cron-based scheduled triggers

invocation
  • condition_function_idstring

    Optional function ID to evaluate before invoking the handler.

  • expressionstringrequired

    Cron expression (6-field format: sec min hour day month weekday; a 7th year field is accepted).

return
  • actual_timestringrequired

    Actual execution time (RFC3339)

  • job_idstringrequired

    Unique job identifier

  • scheduled_timestringrequired

    Scheduled execution time (RFC3339)

  • triggerstringrequired

    Always "cron"