Skip to content
Registry

cron

v0.21.2

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

cronjobscheduletimer

Install

bash
iii trigger compose::add worker=cron@0.21.2

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

Functions1

cron::on-config-change

Function

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

Request
Empty object
Response
  • okbooleanrequired

Triggers1

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"

Search the registry

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