<html><body><span style="font-family:Verdana; color:#000000; font-size:10pt;"><div><br></div><div>Doug,</div><div><br></div><div>I always had to many problems trying to maintain utc in system clock with the utc offset. app_rpt seemed to always read the raw utc time from the rtc (bios clock).</div><div><br></div><div>Now there may be a more appropriate way to fix this but...<br></div><div><br></div><div>My remedy was to set the system to local time a get rid of utc offsets. So it would always speak local time and I knew exactly what the computer clock was set at.<br></div><div><br></div><div>You need to edit /etc/system/clock (no extension)</div><div><br></div><div>ZONE="America/New_York"<br>UTC=false<br>ARC=false<br><br></div><div>While I forget where the "New_York" file is, you need to look at it to be sure it's data is correct.</div><div>As I remember it, There was something wrong with mine but I did not keep the original file to say what it was.</div><div><br></div><div>Then set your clock to local time and it should be correct. You will need to adjust it manually for DST.</div><div><br></div><div>hope that sheds some light in the right direction for what you want.</div><div><br></div><div>...mike/kb8jnm</div><div><br></div><div><br></div><blockquote id="replyBlockquote" webmail="1" style="border-left: 2px solid blue; margin-left: 8px; padding-left: 8px; font-size:10pt; color:black; font-family:verdana;">
<div id="wmQuoteWrapper">
-------- Original Message --------<br>
Subject: RE: [App_rpt-users] Time 6 hours fast<br>
From: Doug Crompton <<a href="mailto:doug@crompton.com">doug@crompton.com</a>><br>
Date: Thu, December 12, 2013 10:13 pm<br>
To: "<a href="mailto:mike@midnighteng.com">mike@midnighteng.com</a>" <<a href="mailto:mike@midnighteng.com">mike@midnighteng.com</a>><br>
Cc: "<a href="mailto:app_rpt-users@ohnosec.org">app_rpt-users@ohnosec.org</a>" <<a href="mailto:app_rpt-users@ohnosec.org">app_rpt-users@ohnosec.org</a>><br>
<br>
<style>
#wmQuoteWrapper .hmmessage P { margin:0px; padding:0px }
#wmQuoteWrapper body.hmmessage { font-size: 12pt; font-family:Calibri }
</style> <div dir="ltr"><font style="" face="Tahoma">I was working with Harry on this and I was stumped also. His timezone in Linux is correct and the system date command is correct. The time zone setting in asterisk system.conf is set to -5.0 which is correct for east coast US. I don't see anything else to set. He is also running ntpd.<br id="FontBreak"></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"><a href="http://www.crompton.com/hamradio">http://www.crompton.com/hamradio</a></font></b><font style="font-size:16pt;" size="4"><br></font><br><br><div><hr id="stopSpelling">From: <a href="mailto:mike@midnighteng.com">mike@midnighteng.com</a><br>To: <a href="mailto:app_rpt-users@ohnosec.org">app_rpt-users@ohnosec.org</a><br>Date: Thu, 12 Dec 2013 18:14:21 -0700<br>Subject: Re: [App_rpt-users] Time 6 hours fast<br><br><span style="font-family:Verdana;color:#000000;font-size:10pt;"><div><br>You need to set the time zone in your linux OS to your local time zone and daylight savings flag if you want it to read back in local time.</div><div>Google " set time zone linux " for some reading. It can be done a couple ways but be sure you understand implications. </div><div>Make back-up copy of files before changing.<br></div><div><br></div><div>...mike/kb8jnm<br></div><div><br></div> <blockquote id="ecxreplyBlockquote" style="border-left:2px solid blue;padding-left:8px;font-size:10pt;color:black;font-family:verdana;"> <div id="ecxwmQuoteWrapper"> -------- Original Message --------<br> Subject: [App_rpt-users] Time 6 hours fast<br> From: "Harry Romano" <<a target="_blank" href="mailto:hromano@earthlink.net">hromano@earthlink.net</a>><br> Date: Thu, December 12, 2013 5:46 pm<br> To: <<a target="_blank" href="mailto:app_rpt-users@ohnosec.org">app_rpt-users@ohnosec.org</a>><br> <br> <style>
#wmQuoteWrapper .ExternalClass #ecxwmQuoteWrapper p.ecxMsoNormal, #wmQuoteWrapper .ExternalClass #ecxwmQuoteWrapper li.ecxMsoNormal, #wmQuoteWrapper .ExternalClass #ecxwmQuoteWrapper div.ecxMsoNormal { font-size:11.0pt; font-family:"Calibri","sans-serif"; }
#wmQuoteWrapper .ExternalClass #ecxwmQuoteWrapper a:link, #wmQuoteWrapper .ExternalClass #ecxwmQuoteWrapper span.ecxMsoHyperlink { color:blue; text-decoration:underline; }
#wmQuoteWrapper .ExternalClass #ecxwmQuoteWrapper span.ecxMsoHyperlinkFollowed { color:purple; text-decoration:underline; }
#wmQuoteWrapper .ExternalClass #ecxwmQuoteWrapper span.ecxEmailStyle17 { font-family:"Calibri","sans-serif"; color:windowtext; }
#wmQuoteWrapper .ExternalClass #ecxwmQuoteWrapper .ecxMsoChpDefault { }
#wmQuoteWrapper .ExternalClass #ecxwmQuoteWrapper div.ecxWordSection1 { }
</style><div class="ecxWordSection1"><div class="ecxMsoNormal" style="font-size:12pt;">Hello all,</div><div class="ecxMsoNormal" style="font-size:12pt;">I have a really weird issue. Beside me personally ,When I press *81 to have allstar say the time Its says the time but 6 hours later so if its 12 midnight it says 6 am . When I key in the date command to allstar from the terminal It gives me the correct date and time month day and est. The minutes are always correct. So I the time is 12:30 midnight it will say 6:30 am . I also was shown how to use the crontab and that works just fine . So why does the time say its 6 hour later. Can anyone help with this issue please!!!</div><div class="ecxMsoNormal" style="font-size:12pt;"> </div><div><div class="ecxMsoNormal" style="font-size:12pt;">73</div><div class="ecxMsoNormal" style="font-size:12pt;"> </div><div class="ecxMsoNormal" style="font-size:12pt;">Harry KC4RPP</div></div></div><hr>_______________________________________________<br> App_rpt-users mailing list<br> <a target="_blank" href="mailto:App_rpt-users@ohnosec.org">App_rpt-users@ohnosec.org</a><br> <a href="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users" target="_blank">http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</a><br> </div> </blockquote></span> <br>_______________________________________________ App_rpt-users mailing list <a href="mailto:App_rpt-users@ohnosec.org">App_rpt-users@ohnosec.org</a> <a href="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users">http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</a></div> </div>
</div>
</blockquote></span></body></html>