delayr (0.1.1)
Installation
[registry]
default = "gitea"
[registries.gitea]
index = "sparse+ " # Sparse index
# index = " " # Git
[net]
git-fetch-with-cli = true
cargo add delayr@0.1.1
About this package
A Rust UNIX system tool that randomly delays another program execution
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
Dependencies
ID | Version |
---|---|
clap | ^3.2.25 |
env_logger | ^0.11.5 |
log | ^0.4.17 |
rand | ^0.8.5 |
Details
2024-07-27 15:59:01 +02:00
Assets (1)
Versions (1)
View all
Cargo
24
Samuel FORESTIER <samuel+dev@forestier.app>
MIT
6.6 KiB
delayr-0.1.1.crate
6.6 KiB
0.1.1
2024-07-27