Crates.io | ocron |
lib.rs | ocron |
version | 0.2.0 |
source | src |
created_at | 2020-09-18 12:01:38.059814 |
updated_at | 2021-02-20 15:05:09.174868 |
description | Cron implementation with an obvious configuration format |
homepage | https://github.com/ametisf/ocron |
repository | https://github.com/ametisf/ocron |
max_upload_size | |
id | 290087 |
size | 68,694 |
OCRON is a cron implementation with an obvious configuration format instead of the usual crontab. The format is using TOML.
To try it out run:
cargo run -- example.toml
or
cargo build && target/debug/ocron example.toml
The example runs date +%H:%M:%S
each whole 10 seconds on Mondays and Fridays.
For documentation on the configuration options see
example.toml
.
Note that OCRON uses a patched version of TOML which allows "inline" tables to span multiple lines, if you install from crates.io the vanilla TOML is used instead.