The time now is Thu 23 May 2013, 06:45
All times are UTC - 4 |
| Author |
Message |
vovchik

Joined: 23 Oct 2006 Posts: 1230 Location: Ukraine
|
Posted: Thu 25 Nov 2010, 08:22 Post subject:
sleepy 0.2.4 Subject description: combination of sleep and at commands |
|
Dear Puppians,
This is Luigi Auriemma's sleepy command. It is a combination of sleep and at and is useful for scripting. I compiled it in 3.01, so it should work in all relatively recent puppies. The source can be obtained from http://aluigi.altervista.org/mytoolz.htm#both. The pet will install in /usr/local/bin. Since it is a command-line utility, it has no menu entry. There is no help, apart from the initial screen:
| Code: | Sleepy 0.2.4
by Luigi Auriemma
e-mail: aluigi@autistici.org
web: aluigi.org
Usage: ./sleepy <time_to_wait*> [program] [arg1]...[argN]
* x: ms s: seconds m: minutes h: hours d: days w: weeks u: UTC
l: loop in wait mode p: loop in detached mode b: break if fails
examples: sleepy "2 h 3m 10 s " ping localhost
sleepy 2h3m10s ping localhost
sleepy 7390 ping localhost
sleepy 14:57:62 ping localhost (local time, current: 12:54:52)
sleepy u13:57:62 ping localhost (UTC time, current: 11:54:52) |
With kind regards,
vovchik
| Description |
|

Download |
| Filename |
sleepy-0.2.4.pet |
| Filesize |
3.79 KB |
| Downloaded |
199 Time(s) |
|
|
Back to top
|
|
 |
seaside
Joined: 11 Apr 2007 Posts: 835
|
Posted: Fri 26 Nov 2010, 15:25 Post subject:
|
|
vovchik,
You just woke me up.
What a charming, completely straightforward, and "to the point" application.
It's really great to see something like this and thank you for compiling and posting it.
Regards,
s
|
|
Back to top
|
|
 |
666philb

Joined: 07 Feb 2010 Posts: 1226 Location: wales
|
Posted: Mon 21 Nov 2011, 14:40 Post subject:
|
|
thanks vovchik
i used this in my get_iplayer gui, for a recording timer. works a treat
666philb
_________________ Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
LÖVE2d, a collection of 27 lua gameshttp://www.murga-linux.com/puppy/viewtopic.php?t=76739
|
|
Back to top
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|
[ Time: 0.0479s ][ Queries: 13 (0.0132s) ][ GZIP on ] |