Date: Mon, 6 Nov 2017 19:24:13 +0100 From: Michael Schuster <michaelsprivate@gmail.com> To: Ernie Luzar <luzar722@gmail.com> Cc: freeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: how to code a timer loop in a sh script Message-ID: <CADqw_g%2BouzDLBdPosKiPSmRZuP6Am%2Bc7OGUZPGWX249D97DUhQ@mail.gmail.com> In-Reply-To: <5A00A826.2000501@gmail.com> References: <5A00A826.2000501@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Try
while [ 1 ]; do
do_stuff
sleep 600
done
Hth
Michael
On Nov 6, 2017 19:21, "Ernie Luzar" <luzar722@gmail.com> wrote:
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.
_______________________________________________
freebsd-questions@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADqw_g%2BouzDLBdPosKiPSmRZuP6Am%2Bc7OGUZPGWX249D97DUhQ>
