Difference between revisions of "Shell Commands/WaitX"

From MorphOS Library

< Shell Commands

(Created page with "'''WaitX'''- Waits for an amount of time 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/...")
 
 
Line 1: Line 1:
'''WaitX'''- Waits for an amount of time
+
'''WaitX'''- Waits for an amount of time and then executes the given command line
  
 
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, CMDLINE/F
 
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, CMDLINE/F
Line 13: Line 13:
 
LOOP    - How many times to execute commandline.
 
LOOP    - How many times to execute commandline.
 
ALWAYS  - Execute commandline every set interval/time/date.
 
ALWAYS  - Execute commandline every set interval/time/date.
VERBOSE - Print extra info on what WaitX is doing.</nowiki>
+
VERBOSE - Print extra info on what WaitX is doing.
 +
CMDLINE - Command line to be executed</nowiki>

Latest revision as of 13:36, 7 March 2015

WaitX- Waits for an amount of time and then executes the given command line

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, CMDLINE/F

DATE    - Wait until DATE (DD/MM/YYYY) has been reached.
TIME    - Wait until TIME (HH:MM:SS) has been reached.
YEARS   - How many years to wait.
MONTHS  - How many months to wait.
DAYS    - How many days to wait.
HOURS   - How many hours to wait.
MINS    - How many minutes to wait.
SECS    - How many seconds to wait.
LOOP    - How many times to execute commandline.
ALWAYS  - Execute commandline every set interval/time/date.
VERBOSE - Print extra info on what WaitX is doing.
CMDLINE - Command line to be executed