AminetAminet
Search:
85255 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/cli/waitx.lha

Mirror:Random
Showing:m68k-amigaosgeneric
No screenshot available
Short:Execute a command after/on a given time (w/src)
Author:cisc at c2i.net (Sigbjørn Skjæret)
Uploader:cisc c2i net (Sigbjørn Skjæret)
Type:util/cli
Version:2.0
Architecture:m68k-amigaos
Date:2002-08-04
Download:http://aminet.net/util/cli/waitx.lha - View contents
Readme:http://aminet.net/util/cli/waitx.readme
Downloads:2075

Very powerful poor-man's cron-tab that is
100% Pure so it can be made resident.

(This has actually been laying on my disk for quite a
while in the need for better docs, I just made a quick
cleanup so you get the general idea, and hopefully you
will figure out the rest by yourself. ;) )


Examples:

$ waitx TIME=12:34:12 echo "this is an example"
  Waits until 12:34:12 is reached and will execute echo

$ waitx H=5 M=36 echo "this is an example"
  Will wait 5 hours and 36 minutes and execute echo

$ waitx HOURS=2 MINS=12 SECS=59
  Will wait 2 hours, 12 minutes and 59 seconds and then
  returns to the prompt

$ waitx DY=1 L=5 echo "this is an example"
  Will wait 1 day and execute echo,
  then repeat this a total of 5 times

$ waitx M=15 ALWAYS echo "this is an example"
  Will execute echo every 15 minutes

$ waitx D=12/9 T=16 L=0 echo "this is an example"
  Will wait until September 12th 16:00 and execute echo,
  and repeat forever

$ waitx echo "this is an example"
  Will execute echo immediatly


- CISC


Contents of util/cli/waitx.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                   59      81  72.8% -lh5- 18d5 Aug  2  2000 waitx/SCOPTIONS
[generic]                 2246    3860  58.2% -lh5- 7cd4 Jan 29  2001 waitx/waitx
[generic]                 3101   10248  30.3% -lh5- cd55 Jan 29  2001 waitx/waitx.c
[generic]                  859    2046  42.0% -lh5- 3b74 Aug  1  2002 waitx/waitx.doc
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         4 files    6265   16235  38.6%            Aug  4  2002

Page generated in 0.04 seconds
Aminet © 1992-2026 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>
Try new and exciting server!