sleepy 0.2.4

Miscellaneous tools
Post Reply
Message
Author
User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

sleepy 0.2.4

#1 Post by vovchik »

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: Select all

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
Attachments
sleepy-0.2.4.pet
(3.79 KiB) Downloaded 494 times

seaside
Posts: 934
Joined: Thu 12 Apr 2007, 00:19

#2 Post by seaside »

vovchik,

You just woke me up. :D

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

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#3 Post by 666philb »

thanks vovchik

i used this in my get_iplayer gui, for a recording timer. works a treat :D

666philb
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

Post Reply