Skip to main content

Crate camel_component_cron

Crate camel_component_cron 

Source
Expand description

cron component for rust-camel — fires Exchange events on Unix cron schedules.

Main types: CronComponent, CronConsumer, CronConfig, CronEndpoint. URI format: cron:name?schedule=0 2 * * *&timeZone=UTC.

§Features

  • Unix 5-field cron: min hour dom month dow
  • Timezone-aware: UTC default, configurable via timeZone param
  • Misfire skip: missed schedules during downtime are not replayed
  • SPI-backed: delegates scheduling to CronService (default: TokioCronService)

Structs§

CronComponent
Component for the cron: scheme. Factory for CronEndpoints.
CronConfig
Configuration parsed from a cron URI.
CronConsumer
Consumer that fires Exchanges on a cron schedule.
CronEndpoint
Endpoint for the cron: scheme.
TokioCronService
Default in-process cron scheduler using tokio::time.