OS4 DepotLogo by Browallia 
(anonymous IP:,1512) 

   Bug tracker
   Locale browser


   o Audio (330)
   o Datatype (49)
   o Demo (188)
   o Development (554)
   o Document (21)
   o Driver (90)
   o Emulation (143)
   o Game (897)
   o Graphics (476)
   o Library (103)
   o Network (212)
   o Office (59)
   o Utility (837)
   o Video (64)

Total files: 4023

Full index file
Recent index file



Support the site

 Readme for:  Utility » Shell » waitx.lha


Description: execute a command after a given time
Download: waitx.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 6kb
Version: 2.0
Date: 05 Dec 2013
Author: Sigbjørn Skjæret, aos4 port by kas1e
Submitter: kas1e
Email: kas1e/yandex ru
Category: utility/shell
License: Other
Distribute: yes
Min OS Version: 4.0
FileID: 8464
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 166  (Current version)
166  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
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. ;) )


$ 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


Copyright © 2004-2020 by Björn Hagström All Rights Reserved