Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Nov 2017 19:31:56 +0100
From:      Erwan David <erwan@rail.eu.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: how to code a timer loop in a sh script
Message-ID:  <f178e657-e2fc-4dc0-5504-d599b37580b7@rail.eu.org>
In-Reply-To: <5A00A826.2000501@gmail.com>
References:  <5A00A826.2000501@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f178e657-e2fc-4dc0-5504-d599b37580b7>