Skip to content

Command-line utility for printing the next iteration of configured crons.

License

Notifications You must be signed in to change notification settings

aramperes/cronwhen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cronwhen

Command-line utility for printing the next iteration of configured crons.

crates.io MIT licensed Build status Latest Release

Example

$ 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)

Download

cronwhen is available to install from crates.io with a stable Rust version:

cargo install cronwhen

Work in Progress

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.)

License

MIT License. See LICENSE for details. Copyright © 2023 Aram Peres.

About

Command-line utility for printing the next iteration of configured crons.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages