Skip to content
Sign in

cron

v0.21.5

Run functions on cron schedules — hosts `cron::on-tick`; each observer of it passes `{ expression }` as args and receives that expression's ticks.

license: Apache-2.0Used in 1 kitcronjobscheduletimer

Install

bash
iii call compose::add worker=cron@0.21.5

Run in your project with the iii engine running. Exact versions are immutable and digest-pinned.

Functions2

cron

Function

Cron-based scheduled triggers

Request
  • 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).

Response
  • actual_timestringrequired

    Actual execution time (RFC3339)

  • job_idstringrequired

    Unique job identifier

  • scheduled_timestringrequired

    Scheduled execution time (RFC3339)

  • triggerstringrequired

    Always "cron"

cron::on-config-change

Function

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

Request
Empty object
Response
  • okbooleanrequired

Search the registry

Find workers, kits and executables, or jump to a page.