how to code a timer loop in a sh script
Michael Schuster
michaelsprivate at gmail.com
Mon Nov 6 18:24:15 UTC 2017
Try
while [ 1 ]; do
do_stuff
sleep 600
done
Hth
Michael
On Nov 6, 2017 19:21, "Ernie Luzar" <luzar722 at 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 at freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list