Doug,

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

Now there may be a more appropriate way to fix this but...

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.

You need to edit /etc/system/clock (no extension)

ZONE="America/New_York"
UTC=false
ARC=false

While I forget where the "New_York" file is, you need to look at it to be sure it's data is correct.
As I remember it, There was something wrong with mine but I did not keep the original file to say what it was.

Then set your clock to local time and it should be correct. You will need to adjust it manually for DST.

hope that sheds some light in the right direction for what you want.

...mike/kb8jnm


-------- Original Message --------
Subject: RE: [App_rpt-users] Time 6 hours fast
From: Doug Crompton <doug@crompton.com>
Date: Thu, December 12, 2013 10:13 pm
To: "mike@midnighteng.com" <mike@midnighteng.com>
Cc: "app_rpt-users@ohnosec.org" <app_rpt-users@ohnosec.org>

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.

73 Doug
WA3DSP
http://www.crompton.com/hamradio




From: mike@midnighteng.com
To: app_rpt-users@ohnosec.org
Date: Thu, 12 Dec 2013 18:14:21 -0700
Subject: Re: [App_rpt-users] Time 6 hours fast


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.
Google " set time zone linux " for some reading. It can be done a couple ways but be sure you understand implications.
Make back-up copy of files before changing.

...mike/kb8jnm

-------- Original Message --------
Subject: [App_rpt-users] Time 6 hours fast
From: "Harry Romano" <hromano@earthlink.net>
Date: Thu, December 12, 2013 5:46 pm
To: <app_rpt-users@ohnosec.org>

Hello all,
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!!!
 
73
 
Harry  KC4RPP

_______________________________________________
App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users

_______________________________________________ App_rpt-users mailing list App_rpt-users@ohnosec.org http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users