hyperlane-plugin-scheduler 23.3.2

A background async interval and 5-field cron job scheduler plugin for the Hyperlane framework with lock-free overlap protection, Tokio panic isolation, atomic per-job metrics, and graceful shutdown.
Documentation

hyperlane-plugin-scheduler

Background Async Interval & 5-Field UTC Cron Job Scheduler Plugin

Crates.io Version Docs.rs CI Status Rust 2024 License: MIT

Workspace Overview · Plugin Catalog · API Docs


Overview

hyperlane-plugin-scheduler runs reliable background async interval and 5-field UTC cron jobs inside hyperlane services with lock-free overlap protection, panic isolation, and graceful shutdown.

Installation

cargo add hyperlane-plugin-scheduler

Usage

use hyperlane_plugin_scheduler::{Scheduler, SchedulerHandle};

fn start_scheduler() -> SchedulerHandle {
    let scheduler: Scheduler = Scheduler::default();
    scheduler.start()
}

Verification

cargo run -p hyperlane-cli -- fmt --check
cargo clippy -p hyperlane-plugin-scheduler --all-features --all-targets -- -D warnings
cargo test -p hyperlane-plugin-scheduler --all-features

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For inquiries, please contact the author at root@devhub.vip.