by fishstock25 · 1y ago · 0 comments
Um, that's a pretty inaccurate way to notice an offset in the millisecond range, isn't it?
* Okay, you have a little control in that you can press enter, or otherwise set it running, at a particular moment.
while true; do date +%s%N; doneI have a program I use in shell scripting called sleepuntil that does something like this, but it doesn't try to be millisecond-accurate.