I can not speak to new app_rpt installs an not sure what you are using for a computer board as some of these mini's might not have a RTC but you can write a script to sync with NTC and update when you want. Once a day after 2 am works well. Even just on sunday at 2am. But if it is getting very far off every hour, you have larger issues and need to reset it every hour. That is provided your board has a real time clock. If not you will have to script something to accommodate the change. This is a script file I use and call synctime.sh #!/bin/bash /usr/sbin/ntpdate pool.ntp.org > /etc/asterisk/log/timelog.txt I am also logging the activity (of any script) in a log directory. now you need to make a command calling it in your setup for it, make it a macro and call it from your sched as you wish. If you RTC is getting off by more than a hour, it is best not to let that happen and if it does, do a full reboot to your server just after you correct the time. This will flush all timers and remove potential hidden problems from the swift change. ...mike/kb8jnm On 5/8/2018 3:53 PM, lengriff@optimum.net wrote:
I have my repeater announce Time of Day on the hour.
With the old Allstar installs, the clock ( time of day ) would correct itself after about an hour.
With ASL, the time of day has NOT corrected itself at all after 1 week of operation.
Len
Debian Stretch authors have changed the time stuff quite a bit. Set the time zone: https://www.server-world.info/en/note?os=Debian_9&p=timezone Start the Stretch version of ntpd: systemctl enable systemd-timesyncd Show time sync status: systemctl status systemd-timesyncd On Tue, May 8, 2018 at 7:03 PM, Mike <mm@midnighteng.com> wrote:
I can not speak to new app_rpt installs an not sure what you are using for a computer board as some of these mini's might not have a RTC but
you can write a script to sync with NTC and update when you want. Once a day after 2 am works well. Even just on sunday at 2am. But if it is getting very far off every hour, you have larger issues and need to reset it every hour.
That is provided your board has a real time clock. If not you will have to script something to accommodate the change.
This is a script file I use and call synctime.sh
#!/bin/bash /usr/sbin/ntpdate pool.ntp.org > /etc/asterisk/log/timelog.txt
I am also logging the activity (of any script) in a log directory.
now you need to make a command calling it in your setup for it, make it a macro and call it from your sched as you wish.
If you RTC is getting off by more than a hour, it is best not to let that happen and if it does, do a full reboot to your server just after you correct the time. This will flush all timers and remove potential hidden problems from the swift change.
...mike/kb8jnm
On 5/8/2018 3:53 PM, lengriff@optimum.net wrote:
I have my repeater announce Time of Day on the hour.
With the old Allstar installs, the clock ( time of day ) would correct itself after about an hour.
With ASL, the time of day has NOT corrected itself at all after 1 week of operation.
Len
_______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://lists.allstarlink.org/c gi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
-- Tim WD6AWP
participants (2)
-
Mike -
Tim Sawyer