watchline

Crates.iowatchline
lib.rswatchline
version0.1.0
sourcesrc
created_at2022-11-09 19:01:20.518482
updated_at2022-11-09 19:01:20.518482
descriptionruns a command at an fixed interval
homepage
repositoryhttps://github.com/eldad/watchline
max_upload_size
id708944
size16,143
Eldad Zack (eldad)

documentation

README

watchline

Watchline runs a command at an interval (similar to watch; without clearing the screen)

Precise mode

To observe the behavior, compare the execution of date --iso-8601=ns | cut -d, -f2 | cut -d+ -f1 with and without precise mode:

# Continuous clock skew
$ watchline 'date --iso-8601=ns | cut -d, -f2 | cut -d+ -f1'

# Maintain the same interval on average
$ watchline -p 'date --iso-8601=ns | cut -d, -f2 | cut -d+ -f1'
Commit count: 53

cargo fmt