A Rust UNIX system tool that randomly delays another program execution https://git.forestier.app/HorlogeSkynet/delayr
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Samuel FORESTIER b16aba7f42 Updates LICENSE copyright as of 2023 4 weeks ago
src Minor improvements 4 weeks ago
.gitignore Initial commit 1 year ago
Cargo.lock Bumps dependencies 4 weeks ago
Cargo.toml Bumps dependencies 4 weeks ago
LICENSE Updates LICENSE copyright as of 2023 4 weeks ago
README.md Prefers `cargo fmt` over `rustfmt` direct usage 12 months ago

README.md

delayr

A Rust UNIX system tool that randomly delays another program execution

Build

cargo build

Usage

delayr --help

Examples

# Sleep between 1 second and 1 hour before executing
delayr 3600 -- certbot renew -n -q

# Sleep between 30 seconds and 60 seconds before executing, with informational logs
delayr -v -m 30 60 -- borg create [...]

# Sleep 10 seconds before exiting, with debugging logs
delayr -d -m 10 10

Contributing

Code format

rustup component add rustfmt
cargo fmt

Code analysis

rustup component add clippy
cargo clippy