<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">Ron,<br><br>ls -ls /var/log/asterisk/astdb.txt<br><br>140 -rw-r--r-- 1 root root 141907 Aug  1 03:03 /var/log/asterisk/astdb.txt<br></font><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">Date: Fri, 1 Aug 2014 07:31:58 -0400<br>From: rwenig@verizon.net<br>To: arm-allstar@hamvoip.org<br>Subject: Re: [arm-allstar] BBB and Private Node<br><br>
  
    
  
  
    Doug,<br>
    <br>
    Just for curiosity sake, I ran the stat command on astdb.txt and the
    last change was 6/26.  This is the date I created the node.  Is
    there a better way to check when it is being updated.<br>
    <br>
    73, Ron NY3J  <br>
    <br>
    [root@ny3j local]# stat astdb.txt<br>
      File: âastdb.txtâ<br>
      Size: 120871          Blocks: 240        IO Block: 4096   regular
    file<br>
    Device: b302h/45826d    Inode: 3390        Links: 1<br>
    Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/   
    root)<br>
    Access: 2014-08-01 07:04:06.329608350 -0400<br>
    Modify: 2013-12-24 10:51:06.000000000 -0500<br>
    Change: 2014-06-26 23:01:02.615384162 -0400<br>
     Birth: -<br>
    [root@ny3j local]#<br>
    <br>
    <div class="ecxmoz-cite-prefix">On 8/1/2014 2:15 AM, Doug Crompton
      wrote:<br>
    </div>
    <blockquote cite="mid:BLU172-W4062398FCC37025C20AD33BAE70@phx.gbl">
      <style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
      <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="ecxFontBreak">
        </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"><a class="ecxmoz-txt-link-freetext" href="http://www.crompton.com/hamradio" target="_blank">http://www.crompton.com/hamradio</a></font></b><font style="font-size:16pt;" size="4"><br>
        </font><br>
        <br>
        <div>
          <hr id="ecxstopSpelling">From: <a class="ecxmoz-txt-link-abbreviated" href="mailto:malgood@gmail.com">malgood@gmail.com</a><br>
          To: <a class="ecxmoz-txt-link-abbreviated" href="mailto:w6reb@hammradio.us">w6reb@hammradio.us</a>; <a class="ecxmoz-txt-link-abbreviated" href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</a><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">
                    <a class="ecxmoz-txt-link-abbreviated" href="mailto:arm-allstar-bounces@hamvoip.org">arm-allstar-bounces@hamvoip.org</a>
                    [<a class="ecxmoz-txt-link-freetext" href="mailto:arm-allstar-bounces@hamvoip.org">mailto:arm-allstar-bounces@hamvoip.org</a>] <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>
                    <a class="ecxmoz-txt-link-abbreviated" href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</a><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
          <a class="ecxmoz-txt-link-abbreviated" href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</a>
          <a class="ecxmoz-txt-link-freetext" href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar" target="_blank">http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</a>
          Visit the BBB web page -
          <a class="ecxmoz-txt-link-freetext" href="http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/" target="_blank">http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/</a></div>
      </div>
      <br>
      <fieldset class="ecxmimeAttachmentHeader"></fieldset>
      <br>
      <pre>_______________________________________________

arm-allstar mailing list
<a class="ecxmoz-txt-link-abbreviated" href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</a>
<a class="ecxmoz-txt-link-freetext" href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar" target="_blank">http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</a>

Visit the BBB web page - <a class="ecxmoz-txt-link-freetext" href="http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/" target="_blank">http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/</a>
</pre>
    </blockquote>
    <br>
  

<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>