Skip to content

rust-playground/relay-scheduler

Repository files navigation

relay-scheduler

This crate contains a Cron backed Job Scheduler for executing Jobs on a schedule. The payload however can be any generic JSON value and so can be used in a standalone manner to hit any API you want.

Features

Optional features:

  • metrics-prometheus: Enables emitting of Prometheus metrics via a scraping endpoint.
  • backing-sqlite: Enables an SQLite backed persistent store to handle crashes/restarts..
  • backing-postgres: Enables a Postgres backed persistent store to handle crashes/restarts.
  • backing-redis: Enables a Redis backed persistent store to handle crashes/restarts.
  • backing-dynamodb: Enables an DynamoDB backed persistent store to handle crashes/restarts.

Servers

server description
HTTP Exposes the scheduler service over HTTP, see here for more information.

How to build

~ cargo build -p scheduler-bin --release

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Proteus by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

Cron backed Job Scheduler

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages