--- Cannot embed stylesheet: [Errno 2] No such file or directory: '../../../aros.css' --->
WaitX
D=DATE/K,T=TIME/K,YR=YEARS/K/N,MN=MONTHS/K/N,DY=DAYS/K/N,H=HOURS/K/N, M=MINS/K/N,S=SECS/K/N,L=LOOP/K/N,A=ALWAYS/S,V=VERBOSE/S,HELP/S,CMDLINE/F
C:
WaitX will wait for a given amount of time and then it will execute the given command.
D=DATE -- Waits until DATE has been reached T=TIME -- Waits until TIME has been reached YR=YEARS -- How many years to wait MN=MONTHS -- How many months to wait DY=DAYS -- How many days to wait H=HOURS -- How many hours to wait M=MINS -- How many minutes to wait S=SECS -- How many seconds to wait L=LOOP -- How many times to execute CMDLINE A=ALWAYS -- Execute CMDLINE every set interval/time/date V=VERBOSE -- Print extra info on what waitx is doing
$ waitx TIME=12:34:12 echo "this is an example" waitx waits until 12:34:12 is reached and will execute echo $ waitx H=5 M=36 echo "this is an example" waitx will wait 5 hours and 36 minutes and execute echo $ waitx HOURS=2 MINS=12 SECS=59 waitx 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" waitx will wait 1 day and execute echo, then repeat this a total of 5 times $ waitx M=15 ALWAYS echo "this is an example" waitx will execute echo every 15 minutes $ waitx D=12/9 T=16 L=0 echo "this is an example" waitx will wait until September 12th 16:00 and execute echo, and repeat forever $ waitx echo "this is an example" waitx will execute echo immediatly
Based on Public Domain WaitX:
http://aminet.net/package/util/cli/waitx
Programming: Sigbjørn Skjæret <cisc@c2i.net>
Idea & Docs: Nicholas Stallard <snowy@netphile.de>
Will not return to prompt while waiting. This is intended.