home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 11 Util
/
11-Util.zip
/
ts9412.zip
/
AT.CMD
next >
Wrap
OS/2 REXX Batch file
|
1994-11-15
|
547b
|
25 lines
/* At.cmd - to run at a specific time */
/* by Curt Bates */
/* trace results */ /* uncomment if you wish to trace the flow */
/* load the rexxutil extension */
call Rxfuncadd 'sysloadfuncs','rexxutil','sysloadfuncs'
call sysloadfuncs
say "Current Time:" time()
say "What time should the command run at?"
pull runtime
say "Enter command to execute:"
pull cmd
do until time()>=runtime
say "Command '"cmd"' is scheduled for" runtime "and it is now" time()
call SysSleep 10
end
say "Running" cmd
'@call' cmd