That didn't work. I did get it to supress the output anyway by adding:<br>-l --logfile /root/backups/smb.log<br>to the end.<br><br>It doesn't seem to use the logfile, but at least it doesn't dump anything to the screen. I'll keep on googling until I find something that works.<br>
<br clear="all">Tim Champion<br><a href="mailto:timchampion@gmail.com">timchampion@gmail.com</a><br>
<br><br><div class="gmail_quote">On Thu, Oct 1, 2009 at 4:26 PM, Dave Weis <span dir="ltr"><<a href="mailto:djweis@internetsolver.com">djweis@internetsolver.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
It's probably writing to stderr instead of stdout. You need to change<br>
the last > smb.log to 2>&1 smblog.txt I believe<br>
<div class="im"><br>
Tim Champion wrote:<br>
> I have the following line in a backup script:<br>
> cat smb.actions | smbclient //<a href="http://192.168.0.100/micads" target="_blank">192.168.0.100/micads</a><br>
</div>> <<a href="http://192.168.0.100/micads" target="_blank">http://192.168.0.100/micads</a>> -A /root/backups/smb.connect > smb.log<br>
<div class="im">><br>
> Everything works wonderfully, except that the output is still going to<br>
> the screen instead of smb.log. It will "touch" the file smb.log and make<br>
> it have a new timestamp, but the file is empty.<br>
><br>
> Tim Champion<br>
</div>> <a href="mailto:timchampion@gmail.com">timchampion@gmail.com</a> <mailto:<a href="mailto:timchampion@gmail.com">timchampion@gmail.com</a>><br>
><br>
><br>
> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> Cialug mailing list<br>
> <a href="mailto:Cialug@cialug.org">Cialug@cialug.org</a><br>
> <a href="http://cialug.org/mailman/listinfo/cialug" target="_blank">http://cialug.org/mailman/listinfo/cialug</a><br>
<br>
<br>
<br>
<br>
--<br>
Dave Weis<br>
515-224-9229<br>
<a href="mailto:djweis@internetsolver.com">djweis@internetsolver.com</a><br>
<a href="http://www.internetsolver.com/" target="_blank">http://www.internetsolver.com/</a><br>
Please check out our Complete Support Service<br>
<a href="http://www.internetsolver.com/completesupport/" target="_blank">http://www.internetsolver.com/completesupport/</a><br>
_______________________________________________<br>
Cialug mailing list<br>
<a href="mailto:Cialug@cialug.org">Cialug@cialug.org</a><br>
<a href="http://cialug.org/mailman/listinfo/cialug" target="_blank">http://cialug.org/mailman/listinfo/cialug</a><br>
</blockquote></div><br>