while true
do
if [ `date "+%S"` -ge 50 ]; then
if [ `date "+%S"` -lt 59 ]; then
echo "LLEGUE"
break
fi
sleep 1
done