Command-line utility for printing the next iteration of configured crons.
$ cronwhen
0 * * * * echo 'hello world'
Next iteration in 11 min 26 sec (2023-07-10 02:00:00 UTC)
0 12 */2 * * echo 'good morning'
Next iteration in 34 hours 11 min 26 sec (2023-07-11 12:00:00 UTC)
cronwhen is available to install from crates.io with a stable Rust version:
cargo install cronwhen
This is currently a prototype. I would like to expand this utility with the following features:
- Pass crontab from
stdin
- Windows support (with
schtasks
) - Extended cron formats (seconds,
@daily
, etc.)
MIT License. See LICENSE
for details. Copyright © 2023 Aram Peres.