|Subject:||feature request: sleep --random|
|Date:||Fri, 18 Sep 2009 12:19:18 +0100 (BST)|
|User-agent:||Alpine 1.10 (DEB 962 2008-03-14)|
$ sleep --random 4.0sleeps for a random amount of time up to and including the requested value. The purpose is that on distributed systems it's disruptive to have synchronized scripts all starting up together. One option is to use the shell's $RANDOM if available, but it's lot of typing to get true (vs coarsely quantized) randomness.
|[Prev in Thread]||Current Thread||[Next in Thread]|