<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font style="" face="Tahoma">That is correct. The cron entry is -<br><br>03 03 * * * cd /etc/asterisk/local; ./astdb.php<br><br>and the astdb.php file snipet -<br><br>// Save the data<br>$db = "/var/log/asterisk/astdb.txt";<br>if (! $fh = fopen($db, 'w')) {<br>    die("Cannot open $db.");<br>}<br><br><br>It is stored there because it is a temp file system. It does not write to the SD card. lsnodes reads the file from there.<br id="FontBreak"></font><br><b><font style="" face="Tahoma">I recommend that you randomly change the time on the cron entry so the database doesn't get hammered by everyone at the same time!</font><br></b><br><b><font style="font-size:16pt;" size="4">73 Doug</font><font style="font-size:16pt;" size="4"><br></font><font style="font-size:16pt;" size="4">WA3DSP</font><font style="font-size:16pt;" size="4"><br></font><font style="font-size:16pt;" size="4">http://www.crompton.com/hamradio</font></b><font style="font-size:16pt;" size="4"><br></font><br><br><div><hr id="stopSpelling">From: malgood@gmail.com<br>To: w6reb@hammradio.us; arm-allstar@hamvoip.org<br>Date: Fri, 1 Aug 2014 11:39:34 +0800<br>Subject: Re: [arm-allstar] BBB and Private Node<br><br>





<style><!--
.ExternalClass .ecxshape {
}
--></style>

<style><!--
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal {
font-size:12.0pt;
font-family:"Times New Roman";
}

.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink {
color:blue;
text-decoration:underline;
}

.ExternalClass span.ecxMsoHyperlinkFollowed {
color:purple;
text-decoration:underline;
}

.ExternalClass span.ecxEmailStyle17 {
font-family:Arial;
color:navy;
}

.ExternalClass div.ecxSection1 {
}

--></style>





<div class="ecxSection1">

<p class="ecxMsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:navy;">Hi</span></font></p>

<p class="ecxMsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:navy;"> </span></font></p>

<p class="ecxMsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:navy;">Check the file located in /var/log/asterisk 
I think that this is the actual file that is updated and used.</span></font></p>

<p class="ecxMsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:navy;"> </span></font></p>

<p class="ecxMsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:navy;">Mal</span></font></p>

<p class="ecxMsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:navy;">VK6MT</span></font></p>

<p class="ecxMsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:navy;"> </span></font></p>

<div>

<div class="ecxMsoNormal" style="text-align:center;" align="center"><font face="Times New Roman" size="3"><span style="font-size:12.0pt;" lang="EN-US">

<hr tabindex="-1" align="center" size="2" width="100%">

</span></font></div>

<p class="ecxMsoNormal"><b><font face="Tahoma" size="2"><span style="font-size:10.0pt;font-family:Tahoma;font-weight:bold;" lang="EN-US">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size:10.0pt;font-family:Tahoma;" lang="EN-US">
arm-allstar-bounces@hamvoip.org [mailto:arm-allstar-bounces@hamvoip.org] <b><span style="font-weight:bold;">On Behalf Of </span></b>w6reb<br>
<b><span style="font-weight:bold;">Sent:</span></b> Friday, 1 August 2014 11:27
AM<br>
<b><span style="font-weight:bold;">To:</span></b> arm-allstar@hamvoip.org<br>
<b><span style="font-weight:bold;">Subject:</span></b> Re: [arm-allstar] BBB and
Private Node</span></font><span lang="EN-US"></span></p>

</div>

<p class="ecxMsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12.0pt;"> </span></font></p>

<div>

<div>

<p class="ecxMsoNormal"><font color="black" face="Calibri" size="3"><span style="font-size:12.0pt;font-family:Calibri;color:black;">                    
I’ve been watching the   etc/asterisk/local/astdb.txt   for
about a week now. I haven’t seen it Update once. Cron seems OK. Permissions
seems right. But what’s more puzzling is the fact I can’t even force an Update.
I’ve got two BBB doing the same thing. Obviously it operator error some place.</span></font></p>

</div>

</div>

</div>




<br>_______________________________________________

arm-allstar mailing list
arm-allstar@hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar

Visit the BBB web page - http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/</div>                                     </div></body>
</html>