#! /bin/bash
beep -f 3000 -l 100
TIMEOUT=5
COUNTER=$TIMEOUT
echo "$(date +%H:%M:%S) started"
while [ $COUNTER -gt 0 ]; do
sleep 60
COUNTER=$(($COUNTER-1))
beep -f 7000 -l 100 -r $(($TIMEOUT-$COUNTER))
echo "$(date +%H:%M:%S) $COUNTER min left"
done
echo "$(date +%H:%M:%S) done"
beep -f 1000 -l 10 -r 2; beep -f 3000 -l 1 -r 2;
beep -f 2000 -l 20 -r 2; beep -f 3000 -l 10 -r 3
while [ 1 -gt 0 ]; do
sleep 5
beep -f 5000 -r 2 -l 100
beep -f 4000 -r 1 -l 50
beep -f 11000 -r 2 -l 50
beep -f 12000 -r 1 -l 100
done
11 February, 2008
Tee Timer Bash Script
Loving Tee? Here a timer:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment