how to code a timer loop in a sh script

Erwan David erwan at
Mon Nov 6 18:32:00 UTC 2017

Le 11/06/17 à 19:21, Ernie Luzar a écrit :
> Trying to write a sh script that will run continually and every 10
> minutes issue a group of commands. Been trying to use the wait command
> and the while loop command to achieve the desired effect with no joy.
> Would like an example of a wait loop code to see how its done.
> Thanks for any help.
> _______________________________________________ 

You can achieve this with gnu-watch, to run your script every 10 minutes.

More information about the freebsd-questions mailing list