help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: record stream using time limit, reconnecting as needed


From: Roger
Subject: Re: record stream using time limit, reconnecting as needed
Date: Tue, 21 Feb 2023 19:10:56 -0500

The more I think on this... the more it seems like spawning a sub-shell for the 
while-loop is best.  Setup a second sub-shell as a counter. (eg. sleep 30m && 
kill -INT first_subshell)

This would drop the dependency of timeout, along with timeout's export 
variables/functions.

This seems a more optimal solution.

Roger

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]