Web lists-archives.com

at based alarm.




Given a file named wake containing this script, an alarm can be started with at.
  at -f wake 6:30
How can the xterm be started with std{in,out,err} connected there?

Thanks,     ... Peter E.

#!/bin/sh 
xterm
input=""
until [[ $input != "" ]] ; do
  echo Beginning until loop.
  /usr/bin/play /home/peter/ring.wav
  read -n 1 -t 4 input
done

-- 

123456789 123456789 123456789 123456789 123456789 123456789 123456789
Tel: +1 360 639 0202                      Pender Is.: +1 250 629 3757
http://easthope.ca/Peter.html              Bcc: peter at easthope. ca