#!/bin/sh while true do echo `date "+%S"` if [ `date "+%S"` -eq 0 ]; then echo "EN PUNTO" break fi sleep 1 done