Date: Wed, 29 May 2013 16:17:58 -0400 (EDT) From: Stuart Barkley <stuartb@4gh.net> To: freebsd-questions@freebsd.org Cc: freebsd-current@freebsd.org Subject: Re: BSD sleep Message-ID: <alpine.BSF.2.00.1305291616290.38059@freeman.4gh.net> In-Reply-To: <20130528230140.A5B396F448@smtp.hushmail.com> References: <20130528230140.A5B396F448@smtp.hushmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 28 May 2013 at 19:01 -0000, Kenta Suzumoto wrote: > Hi. Is there no built-in way of making "sleep" sleep in increments > of minutes, hours, etc? The GNU "sleep" can be invoked like "sleep > 1h" for an hour. The FreeBSD one's manpage leads me to believe we > can only use seconds, which is kind of annoying. Is there an > undocmented or missing feature here? Seems really trivial to > implement. > > ~ $ sleep 1h > usage: sleep seconds See also /usr/ports/misc/delay. Stuart
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1305291616290.38059>