1 unstable release

0.1.0 Jul 15, 2023

#863 in Web programming

Download history 21/week @ 2023-07-18 25/week @ 2023-07-25 13/week @ 2023-08-01 19/week @ 2023-08-08 19/week @ 2023-08-15 8/week @ 2023-08-22 9/week @ 2023-08-29 17/week @ 2023-09-05 14/week @ 2023-09-12 9/week @ 2023-09-19 14/week @ 2023-09-26 15/week @ 2023-10-03 11/week @ 2023-10-10 20/week @ 2023-10-17 15/week @ 2023-10-24 17/week @ 2023-10-31

67 downloads per month
Used in 4 crates

BSD-2-Clause-Patent

110KB
3K 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

cargo run -- -c <config-file>

# Skip missed runs by

CRONBACK__SCHEDULER__DANGEROUS_FAST_FORWARD=true cargo run

# Set the admin key
CRONBACK__API__ADMIN_API_KEYS=adminkey cargo run

# Get API Secret Token:
export CRONBACK_SECRET_TOKEN=`http -j --auth adminkey --auth-type bearer http://localhost:8888/v1/admin/api_keys X-On-Behalf-Of:prj_063001GZKTEF61EJ34W1G0PXJS7V6M key_name=master | jq -r '.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

~64MB
~1M SLoC