On 19/08/14 19:12, Chris Green wrote:
On Sat, Aug 16, 2014 at 05:07:49PM +0100, Paul Lenton wrote:
Hi Chris, If the timing isn't important, is there anything to stop you writing the script with sleep 1 in it ~59 times and then running the script every minute in cron?
That did occur to me too, I suspect it may be the most practical method.
That way, even if the script dies, you only have to wait at most a minute before it tries again
Yes.
Would inittab with respawn be a better way to start it. That way it would restart if it failed?
http://www.linuxquestions.org/questions/linux-server-73/how-to-respawn-a-ser...
Steve