1 unstable release

0.1.0 Jul 15, 2023

#1 in #cronback

Download history 7/week @ 2024-02-12 14/week @ 2024-02-19 39/week @ 2024-02-26 12/week @ 2024-03-04 19/week @ 2024-03-11 14/week @ 2024-03-18 30/week @ 2024-03-25 49/week @ 2024-04-01

115 downloads per month
Used in 6 crates (5 directly)

BSD-2-Clause-Patent

61KB
1.5K SLoC

cronback

Allows developers to schedule webhooks on-demand, with backoff, or on a cron recurring schedule.

License

Build

Install protobuf

brew install protobuf
cargo build

Tests

Install the cargo-nextest test runner link

cargo nextest run

Run in Development Environment

1/ Run the server with the default configuration

# Set the admin key
CRONBACK__API__ADMIN_API_KEYS=adminkey cargo run
# Skip missed runs by

CRONBACK__SCHEDULER__DANGEROUS_FAST_FORWARD=true cargo run

2/ Get API Secret Token:

cargo cli --localhost --secret-token=adminkey admin --project-id=prj_063001GZKTEF61EJ34W1G0PXJS7V6M api-keys create dev_key

Prometheus Metrics

curl http://localhost:9000/metrics

License

The software is distributed under the terms of the GPLv2-compatible, OSI-approved, permissive BSD-2-Clause-Patent license.

Dependencies

~1.9–9MB
~55K SLoC