<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Jan 4, 2015 at 3:38 PM, Alistair Grant <span dir="ltr"><<a href="mailto:akgrant0710@gmail.com" target="_blank">akgrant0710@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sun, Jan 4, 2015 at 9:08 PM, Ian Evans <<a href="mailto:dheianevans@gmail.com">dheianevans@gmail.com</a>> wrote:<br>
> I've got something like this:<br>
><br>
> #!/bin/sh<br>
> while [ 1 ]; do<br>
> echo "test"<br>
> hdhomerun_config 10305A8C get /tuner0/debug >> mythtest<br>
>     sleep 2<br>
> done<br>
><br>
><br>
> I'll google around, but how do I echo a time stamp into this?<br>
<br>
</span>$ echo `date`<br>
Sun Jan 4 21:37:01 CET 2015<br>
<br>
Note that the quotes are back quotes, on a US keyboard they're below<br>
the tilda (~).<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br></div></div></blockquote></div><br></div><div class="gmail_extra">Thanks. I have a working example logging right now. I have five recordings going on two tuners. Of course a watched pot never boils, so it's not failing right now.<br></div></div>