Crates.io | ply_jobs |
lib.rs | ply_jobs |
version | 0.1.8 |
source | src |
created_at | 2024-01-05 20:31:16.005542 |
updated_at | 2024-01-09 20:26:31.098661 |
description | This crate provides the ability to run background jobs on a schedule. |
homepage | |
repository | |
max_upload_size | |
id | 1090421 |
size | 99,894 |
Job Manager is a Rust crate for scheduling and managing asynchronous jobs.
This is a very early release and completely untested. There will be frequent enhancements while we explore this create in the context of the ply backend crates.
If you'd like to contribute (eg by providing another storage implementation) please open an issue.
The counter example with MongoDB backend is a good place to start to understand how to use the jobs crate.
You can run this example like this:
docker-compose -f examples/counter/docker-compose.yml up -d
cargo run --example counter --features mongodb
Hit CTRL+C
to stop the example and
docker-compose -f examples/counter/docker-compose.yml down
To stop the MongoDB container.