#cron #toml #configuration #format #obvious #table

app ocron

Cron implementation with an obvious configuration format

2 unstable releases

0.2.0 Feb 20, 2021
0.1.3 Jan 29, 2021

#3 in #obvious

38 downloads per month

GPL-3.0-or-later

28KB
677 lines

OCRON

OCRON is a cron implementation with an obvious configuration format instead of the usual crontab. The format is using TOML.

Usage

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.

Dependencies

~1.3–1.8MB
~31K SLoC